Skip to content

Instantly share code, notes, and snippets.

@vine77
Last active May 16, 2016 21:00
Show Gist options
  • Select an option

  • Save vine77/c59bda91b1a14b50da691ff0a2b7eeeb to your computer and use it in GitHub Desktop.

Select an option

Save vine77/c59bda91b1a14b50da691ff0a2b7eeeb to your computer and use it in GitHub Desktop.
namespace-test
import Ember from 'ember';
// Imports: Use the app's name as the namespace
import foo from 'twiddle/lib/foo'
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
message: Ember.computed(foo)
});
export default function hello() {
return 'foobar';
}
<h1>Welcome to {{appName}}</h1>
{{message}}
{
"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