going back to familiar operators +: is just too strange

This commit is contained in:
Jeremy Ashkenas
2009-12-25 07:31:51 -08:00
parent 968aeec523
commit 55bf0a2c61
9 changed files with 24 additions and 29 deletions

View File

@@ -358,14 +358,9 @@ module CoffeeScript
'or' => '||',
'is' => '===',
"isnt" => "!==",
'not' => '!',
'+:' => '+=',
'-:' => '-=',
'*:' => '*=',
'/:' => '/=',
'%:' => '%='
'not' => '!'
}
CONDITIONALS = ['||:', '&&:']
CONDITIONALS = ['||=', '&&=']
PREFIX_OPERATORS = ['typeof', 'delete']
attr_reader :operator, :first, :second