Skip to content

Instantly share code, notes, and snippets.

@Dhaulagiri
Created January 8, 2016 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dhaulagiri/79a263b4cbec74364686 to your computer and use it in GitHub Desktop.
Save Dhaulagiri/79a263b4cbec74364686 to your computer and use it in GitHub Desktop.
duplicate class names in 1.13
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{my-component classNames="bar"}}
<br>
<br>
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['foo']
});
component with class names repeated
{
"version": "0.5.0",
"EmberENV": {
"FEATURES": {}
},
"options": {
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "1.13.11",
"ember-data": "https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/2.2.0/ember-data.js",
"ember-template-compiler": "1.13.11"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment