|
|
|
|
|
by tlrobinson
6064 days ago
|
|
You should probably assign an object to the underscore, otherwise any argument which is undefined will match: js> var _
js> _ == undefined
true
Just doing "var _ = {}" should be sufficient.edit: however, this conflicts with Underscore.js (http://documentcloud.github.com/underscore/), but if you put an "if (typeof _ === "undefined")" around the assignment you should be ok |
|