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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
isFalse: false, | |
actions: { | |
onSubmit() { alert('SUBMITTED'); } | |
} | |
}); |
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
import Ember from 'ember'; | |
// Can't use session or local storage inside this Twiddle, but you get the picture. | |
var _sessionStorage = {}, | |
// Make _localStorage = { jwt: "something" } to see that the problem is not | |
// about the value "false", but rather the original value returned by the getter. | |
_localStorage = {}; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', |