Skip to content
import Ember from 'ember';
Ember.Handlebars.helper('is-equal', function(a, b){
return a === b;
});
export default Ember.Controller.extend({
appName:'Ember Twiddle',
actions: {
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
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() {
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
export default Ember.Controller.extend({
actions: {
changed(val) {
this.set('currentValue', val);
console.log(val);
}
}
});
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
function printStatus(fn) {
switch (%GetOptimizationStatus(fn)) {
case 1: console.log('Function is optimized'); break;
case 2: console.log('Function is not optimized'); break;
case 3: console.log('Function is always optimized'); break;
case 4: console.log('Function is never optimized'); break;
case 6: console.log('Function is maybe deoptimized'); break;
}
}

so given:

var a = {
  @myDecorator('someValue') name
};

if name is not defined, what should happen. Should it always throw, or only throw if myDecorator attempts to access descriptor.value?

[alias]
pr = "!f() { git fetch origin refs/pull/$1/head:pr-$1 && git checkout pr-$1; } ; f"
import Component from 'ember/component';
export default Component.extend({
queryParams: Ember.inject.service('query-params'),
sortOrder: Ember.computed.alias('queryParams.sortOrder')
})
Something went wrong with that request. Please try again.