trading aint for isnt -- let's be serious

This commit is contained in:
Jeremy Ashkenas
2009-12-24 17:21:20 -08:00
parent 95bfb0b45c
commit 985e0a080b
12 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ sum: x, y => x + y.
odd: x => x % 2 is 0.
even: x => x % 2 aint 0.
even: x => x % 2 isnt 0.
run_loop: =>
fire_events( e => e.stopPropagation(). )

View File

@@ -49,7 +49,7 @@ _.each: obj, iterator, context =>
return iterator.call(context, item, i, obj) for item, i in obj. if _.isArray(obj) or _.isArguments(obj)
iterator.call(context, obj[key], key, obj) for key in _.keys(obj).
catch e
throw e if e aint breaker.
throw e if e isnt breaker.
obj.
# Return the results of applying the iterator to each element. Use JavaScript