going back to == undefined instead of == null to appease the angry JSLint.

This commit is contained in:
Jeremy Ashkenas
2010-02-22 22:19:17 -05:00
parent 3df7bd98f4
commit 5a1aa44393
2 changed files with 2 additions and 2 deletions

View File

@@ -329,7 +329,7 @@
// A value, indexed or dotted into, or vanilla.
ValueNode = (exports.ValueNode = inherit(Node, {
type: 'Value',
SOAK: " == null ? undefined : ",
SOAK: " == undefined ? undefined : ",
constructor: function constructor(base, properties) {
this.children = flatten([(this.base = base), (this.properties = (properties || []))]);
return this;

View File

@@ -236,7 +236,7 @@ statement ReturnNode, true
ValueNode: exports.ValueNode: inherit Node, {
type: 'Value'
SOAK: " == null ? undefined : "
SOAK: " == undefined ? undefined : "
constructor: (base, properties) ->
@children: flatten [@base: base, @properties: (properties or [])]