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', | |
Img_tag: Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>'), | |
Img_tag_with_tag:'<b>'+Ember.Handlebars.Utils.escapeExpression('<img src="" onerror=alert();>')+'</b>', | |
withoutEscExpress: '<img src="" onerror=alert();>', |
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 { A } from '@ember/array'; | |
import { set, get } from '@ember/object'; | |
export default Ember.Component.extend({ | |
searchVal : '', | |
keyUp(){ | |
let self = this, | |
record = [ |
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.Component.extend({ | |
create_obj: Ember.Object.create({ | |
ws_name: '', | |
temp_name: 'ram', | |
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 UpdateMixin from '../mixins/update'; | |
export default Ember.Component.extend(UpdateMixin, { | |
child_val: '', | |
actions:{ | |
childAction(){ |
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' | |
}); |