Skip to content

Instantly share code, notes, and snippets.

@quincyle
Created June 1, 2016 04:43
Show Gist options
  • Select an option

  • Save quincyle/ac9d61a4babc09147693dba60489d39d to your computer and use it in GitHub Desktop.

Select an option

Save quincyle/ac9d61a4babc09147693dba60489d39d to your computer and use it in GitHub Desktop.
exmaple
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['fr-button'],
onclick: Ember.on('click', function() {
alert('111')
})
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{outlet}}
<br>
<br>
{{fr-buttom}}
{
"version": "0.8.1",
"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.5.1",
"ember-data": "2.5.2",
"ember-template-compiler": "2.5.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment