one more step

This commit is contained in:
Jeremy Ashkenas
2010-03-21 21:46:53 -04:00
parent acd9be3863
commit 4f8ae3ccbe
2 changed files with 3 additions and 13 deletions

View File

@@ -1226,12 +1226,7 @@
// The map of conversions from CoffeeScript to JavaScript symbols.
OpNode.prototype.CONVERSIONS = {
'==': '===',
'!=': '!==',
'and': '&&',
'or': '||',
'is': '===',
'isnt': '!==',
'not': '!'
'!=': '!=='
};
// The list of operators for which we perform
// [Python-style comparison chaining](http://docs.python.org/reference/expressions.html#notin).

View File

@@ -909,13 +909,8 @@ exports.OpNode: class OpNode extends BaseNode
# The map of conversions from CoffeeScript to JavaScript symbols.
CONVERSIONS: {
'==': '==='
'!=': '!=='
'and': '&&'
'or': '||'
'is': '==='
'isnt': '!=='
'not': '!'
'==': '==='
'!=': '!=='
}
# The list of operators for which we perform