mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
one more step
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user