Skip to content

Instantly share code, notes, and snippets.

@mohamedali-s-4725
Last active July 12, 2021 13:04
Show Gist options
  • Save mohamedali-s-4725/073c6e37eea78bfcf713ff414406594e to your computer and use it in GitHub Desktop.
Save mohamedali-s-4725/073c6e37eea78bfcf713ff414406594e to your computer and use it in GitHub Desktop.
Triple curly
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Route.extend({
model(){
return ['<img src="123.png"></img>', '&lt;img src=&quot;test.png&quot;/&gt'];
}
});
<h1>Welcome to {{appName}}</h1>
<br>
{{#each model as |item| }}
{{{item}}}<br><br>
{{/each}}
<br>
{{outlet}}
<br>
<br>
{
"version": "0.10.4",
"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.7.0",
"ember-data": "2.7.0",
"ember-template-compiler": "2.7.0"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment