Skip to content

Instantly share code, notes, and snippets.

@Srinithi-23
Created February 9, 2018 10:53
Show Gist options
  • Save Srinithi-23/2d16d776bf49e88ac3f2e64fe0e43fa9 to your computer and use it in GitHub Desktop.
Save Srinithi-23/2d16d776bf49e88ac3f2e64fe0e43fa9 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
Img_tag:'<img src="" onerror=alert();>'
});
<h1>Plain</h1>
<br>
<br>
<h2>With double curly braces</h2>
{{outlet}}
{{Img_tag}}
<br>
<br>
<br>
<br>
<h2>With triple curly braces</h2>
{{outlet}}
{{{Img_tag}}}
<br>
<br>
{
"version": "0.13.0",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.16.2",
"ember-template-compiler": "2.16.2",
"ember-testing": "2.16.2"
},
"addons": {
"ember-data": "2.16.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment