Created
September 4, 2016 10:30
-
-
Save nfcampos/275ada99b630ee9524b374b0588b36c3 to your computer and use it in GitHub Desktop.
more isolated test
This file contains 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
Show hidden characters
{ | |
"plugins": ["syntax-class-properties", "../../../../../src/babel"] | |
} |
This file contains 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
class Foo { | |
bar = (a, b) => { | |
return a(b); | |
}; | |
} |
This file contains 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
var _this = this; | |
class Foo { | |
bar = (...params) => _this.__bar__REACT_HOT_LOADER__(...params); | |
__bar__REACT_HOT_LOADER__(a, b) { | |
return a(b); | |
} | |
} | |
; | |
(function () { | |
if (typeof __REACT_HOT_LOADER__ === 'undefined') { | |
return; | |
} | |
__REACT_HOT_LOADER__.register(Foo, "Foo", __FILENAME__); | |
})(); | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment