A: What's Bower?
B: It's a package manager, you install it with NPM.
A: What's NPM?
B: It's a package manager, you install it with Brew.
A: What's Brew?
A: What's Bower?
B: It's a package manager, you install it with NPM.
A: What's NPM?
B: It's a package manager, you install it with Brew.
A: What's Brew?
Data Down / Actions Up
Other
http://emberjs.jsbin.com/rwjblue/299/edit?js,output - simplified version of ic-ajax
id (such as 6782961)id in where it says [ID]: https://plug.dj/_/playlists/[ID]/media (ex: https://plug.dj/_/playlists/8096724/media)Note: This will only work for your own playlists, and only while you are logged in. Other user's playlist ids (such as the examples above) will return empty results.
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle', | |
| toggle: false, | |
| actions: { | |
| nextVideo() { | |
| this.toggleProperty('toggle'); | |
| } |
| (if "" is val then null else (if "true" is val then true else (if "false" is val then false else (-1 isnt val.indexOf(",") and (val = val.split(",")) val)))) |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName:'Ember Twiddle' | |
| }); |
This section outlines common patterns and gotchas in writing Ember applications.
This list of ES6 Features serves as a great reference for what has changed since the ES5 spec. A few features of notable importance have been called out briefly below. Please use the resource above for more detailed explanations.
This section explains the basic styles and patterns used in our JavaScript code. It borrows heavily from established resources at other companies that have extensive experience with JS, such as Yahoo, Google, and Mozilla. This guide is written with ES6 syntax in mind.
Some interesting JavaScript tips and gotchas can be found here