Skip to content

Instantly share code, notes, and snippets.

@jakedetels
Last active December 21, 2015 16:51
Show Gist options
  • Save jakedetels/30c30b4ad7f72ca84700 to your computer and use it in GitHub Desktop.
Save jakedetels/30c30b4ad7f72ca84700 to your computer and use it in GitHub Desktop.
Ember.assgin
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
typeofAssign: typeof Ember.assign,
version: Ember.VERSION
});
<h1>Welcome to {{appName}}</h1>
<code>typeof Ember.assign: {{typeofAssign}}</code>
<br/>
<code>Ember.VERSION: {{version}}</code>
<br>
<br>
{{outlet}}
<br>
<br>
{
"version": "0.4.17",
"EmberENV": {
"FEATURES": {}
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.2.0/ember.debug.js",
"ember-data": "https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/2.2.0/ember-data.js",
"ember-template-compiler": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/2.2.0/ember-template-compiler.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment