ember.js - How to prevent two dates from overlapping? -


in indexcontroller, have 2 properties, from , to, both containing instance of date object.

i have set 1 separate observer each property , run overlap-prevention logic in there -- right approach?

here's js bin: http://jsbin.com/yijezebetaya/1/

yes, approach acceptable.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c - Creating referenced table element -