This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> node util/test-source-maps.js "test/fixtures/arrow-methods-obj/fat-assign/actual.js" | |
test/fixtures/arrow-methods-obj/fat-assign/actual.js | |
Source code: | |
let o | |
now o = { | |
f() => | |
this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source code: | |
let o | |
now o = { | |
f() => | |
this | |
} | |
Transformed code: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Observable pattern for Redux selectors. | |
# Compares using _ deep equality. | |
# See: https://github.com/rackt/redux/issues/303#issuecomment-125184409 | |
# | |
_ = require 'underscore' | |
deepEqualityTest = _.isEqual | |
objectEqualityTest = (a,b) -> a is b |