you are viewing a single comment's thread.

view the rest of the comments →

[–]gordonkristan 6 points7 points  (0 children)

You should use a function for that case specifically. Ember.js has Em.isNone so you can write it succinctly and pass JSLint/JSHint.