mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
making all assignment-y operators use a colon -- now it's +: -: *: /:, and friends
This commit is contained in:
@@ -359,6 +359,11 @@ module CoffeeScript
|
||||
'is' => '===',
|
||||
"isnt" => "!==",
|
||||
'not' => '!',
|
||||
'+:' => '+=',
|
||||
'-:' => '-=',
|
||||
'*:' => '*=',
|
||||
'/:' => '/=',
|
||||
'%:' => '%='
|
||||
}
|
||||
CONDITIONALS = ['||:', '&&:']
|
||||
PREFIX_OPERATORS = ['typeof', 'delete']
|
||||
|
||||
Reference in New Issue
Block a user