Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Component.extend({
willDestroyElement(){
this._super(...arguments);
Ember.set(this,'model','');
console.log('in child');
}
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag_with_tag:Ember.Handlebars.Utils.escapeExpression('<i>'+Ember.String.htmlSafe('<img src="" onerror=alert();>')+'</i>')
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag: Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>'),
Img_tag_with_tag:Ember.String.htmlSafe('<i>'+Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>')+'</i>')
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag: Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>'),
Img_tag_with_tag:'<b>'+Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>')+'</b>'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag: Ember.String.htmlSafe('<img src="" onerror=alert();>'),
Img_tag_with_tag:'<b>'+Ember.String.htmlSafe('<img src="" onerror=alert();>')+'</b>'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag:'<img src="" onerror=alert();>'
});