Download the tgz
file below, and change your npm dependency on ember-source (in config/ember-try.js
or just in package.json
) to 'file:./ember-source-3.28.7-mixonic-explicit-injection-not-deprecated+ae15deb1.tgz'
.
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 server will start a bash shell and expose it | |
// over socket.io to a browser. See ./term.html for the | |
// client side. | |
// | |
// You should probably: | |
// | |
// npm install socket.io | |
// curl -O https://github.com/LearnBoost/Socket.IO/raw/master/socket.io.min.js | |
// |
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
node_modules | |
public/socket.io.min.js | |
public/jquery.js |
Three things for ember source 4.0, BLOCKS EMBER-CLI 4.0
- Deprecate store injection on route in Ember source 3.28 emberjs/ember.js#19854
- Change error message on ember-source 4.0 for when model.find isn't found emberjs/ember.js#19857 & emberjs/ember.js#19858
- When generating a route (with a dynamic segment), ensure the blueprint output for the route class contains an empty model hook with notes/docs on dynamic segements. emberjs/ember.js#19860
Followup, can be a bit lazy:
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.Component.extend({ | |
}); |
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({ | |
root: 'aa', | |
appName: Ember.computed('root', { | |
get() { | |
return this.get('root'); | |
}, | |
set(key, value) { | |
let newValue = value; |
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'; | |
import NamedExports from './exporting'; | |
export default Ember.Controller.extend({ | |
appName: NamedExports.appName | |
}); |
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.Component.extend({ | |
log: Ember.computed(() => []), | |
open() { | |
this.get('log').pushObject('opened!'); | |
}, | |
didInsertElement() { |
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.Component.extend({ | |
}); |
NewerOlder