Created
January 20, 2016 11:40
-
-
Save keyserfaty/08330f3b478f30dad364 to your computer and use it in GitHub Desktop.
What I learned from my Angular + Webpack + ES6 journey: examples
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
export default class Thing { | |
constructor ($q) { | |
this.$q = $q; | |
} | |
doStuff (a, b) { | |
let { $q } = this; | |
return a + b; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment