Skip to content

Instantly share code, notes, and snippets.

@sreedhar7
Last active November 4, 2016 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sreedhar7/c76cc08373dcc79cf8d29bdb04c6aa55 to your computer and use it in GitHub Desktop.
Save sreedhar7/c76cc08373dcc79cf8d29bdb04c6aa55 to your computer and use it in GitHub Desktop.
test-div-id-null
import Ember from 'ember';
export default Ember.Component.extend({
tagName: '',
init() {
this._super();
this.set('tagName', 'div');
},
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{foo-bar class="test"}}
{{outlet}}
<br>
<br>
{
"version": "0.10.6",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "canary",
"ember-data": "beta",
"ember-template-compiler": "canary",
"ember-testing": "canary"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment