From 4f8ae3ccbe6da51811d273560ee9d528170918c8 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sun, 21 Mar 2010 21:46:53 -0400 Subject: [PATCH] one more step --- lib/nodes.js | 7 +------ src/nodes.coffee | 9 ++------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/nodes.js b/lib/nodes.js index c8c5379e..0ea0010c 100644 --- a/lib/nodes.js +++ b/lib/nodes.js @@ -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). diff --git a/src/nodes.coffee b/src/nodes.coffee index 21eb04d7..9f5d34a6 100644 --- a/src/nodes.coffee +++ b/src/nodes.coffee @@ -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