-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite amd modules into es2015 modules
Add babel as webpack loader with custom plugins: Presets aren't needed right now and plugins can be added on demand Newer NW.js versions run most es2015 stuff natively anyway Keep indentation of all modules for better git diffs TODO: - Use named exports - Rewrite more stuff into es2015 - Include babel-plugin-transform-runtime
- Loading branch information
1 parent
681b4a0
commit fb60c22
Showing
263 changed files
with
1,742 additions
and
3,033 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"browser" : true, | ||
"node" : true, | ||
"devel" : false, | ||
"esnext" : true, | ||
|
||
"curly" : true, | ||
"eqeqeq" : true, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,16 @@ | ||
define([ | ||
"Ember", | ||
"components/button/FormButtonComponent", | ||
"mixins/FollowButtonMixin" | ||
], function( | ||
Ember, | ||
FormButtonComponent, | ||
FollowButtonMixin | ||
) { | ||
import Ember from "Ember"; | ||
import FormButtonComponent from "components/button/FormButtonComponent"; | ||
import FollowButtonMixin from "mixins/FollowButtonMixin"; | ||
|
||
|
||
var alias = Ember.computed.alias; | ||
|
||
|
||
return FormButtonComponent.extend( FollowButtonMixin, { | ||
export default FormButtonComponent.extend( FollowButtonMixin, { | ||
modelName: "twitchUserFollowsGame", | ||
|
||
// model alias (component attribute) | ||
model : alias( "game" ), | ||
// model is a string, no game record (just use the game name as ID) | ||
id : alias( "model" ) | ||
}); | ||
|
||
}); |
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
Oops, something went wrong.