Adding a jsl.conf configuration file for JavaScript lint, and switching to == null for soaks, accordingly.

This commit is contained in:
Jeremy Ashkenas
2010-08-14 16:02:01 -04:00
parent c71f2794eb
commit 6555d86328
6 changed files with 56 additions and 10 deletions

View File

@@ -367,7 +367,7 @@ exports.ValueNode = class ValueNode extends BaseNode
complete = if i is 0
"(typeof #{complete} === \"undefined\" || #{baseline} === null) ? undefined : "
else
"#{complete} == undefined ? undefined : "
"#{complete} == null ? undefined : "
complete += (baseline += prop.compile(o))
else
part = prop.compile(o)