AmpersandJS / ampersand-select-view

Select field for ampersand-form-views
MIT License
11 stars 26 forks source link

Add check for parent update method #51

Closed bryanspears closed 9 years ago

bryanspears commented 9 years ago

When used as a view/subview there isn't an update method by default as there is with a form view.

cdaringe commented 9 years ago

:+1:

kamilogorek commented 9 years ago

+1

pgilad commented 9 years ago

looks good. I was thinking of perhaps using lodash.isfunction for this. Thoughts?

kamilogorek commented 9 years ago

@pgilad I though the same, but the only thing _.isFunction is adding is basically Safari regexp bug. But I believe no one will ever assign regexp as their update function :P

cdaringe commented 9 years ago

tests passing