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({ | |
isChecked: false, | |
label: 'laber before input' | |
}); |
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' | |
}); | |
// Broken on 2.10.2 | |
// Works as expected on 2.9.1 |
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' | |
}); | |
// Broken on 2.10.2 | |
// Works as expected on 2.9.1 |
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', | |
actions: { | |
updateValue(value) { | |
this.set('output', 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'; | |
export default Ember.Component.extend({ | |
didInsertElement() { | |
this._super(...arguments); | |
// * if a computed property is never consumed, it will not be "active" | |
// * observers observe "active" things | |
// in most scenarios, computed properties are consumed often by templates (thereby typically observers appear to work without a manual kick) | |
// since this CP is not consumed naturally (it is essentially being consumed by a non-ember thing), we must give it a kick. |
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({ | |
elements: [ | |
{name: "Uranium"}, | |
{name: "Plutonium"}, | |
{name: "Francium"}, | |
{name: "Einstanium"} | |
], | |
searchQuery: '' |
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'; | |
let lastId = 0; | |
export default Ember.Controller.extend({ | |
rootItems: Ember.computed.filter('owner.items', function(item) { | |
return item.get('parent.content') === null; | |
}).property('[email protected]'), | |
owner: Ember.computed(function() { |
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'; | |
function optionsProperty(dependentKey) { | |
return Ember.computed(dependentKey, function() { | |
return this.get(dependentKey).split(',').map(Function.prototype.call, String.prototype.trim); | |
}); | |
} | |
export default Ember.Controller.extend({ | |
init() { |
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
diff --git a/index.js b/index.js | |
index 2ec4b85..d010a51 100644 | |
--- a/index.js | |
+++ b/index.js | |
@@ -59,9 +59,9 @@ Babel.prototype = Object.create(Filter.prototype); | |
Babel.prototype.constructor = Babel; | |
Babel.prototype.targetExtension = ['js']; | |
-Babel.prototype.rebuild = function() { | |
+Babel.prototype.build = function() { |
NewerOlder