Skip to content

Instantly share code, notes, and snippets.

@stefanpenner
Forked from Gaurav0/controllers.application.js
Last active August 29, 2015 14:25
Show Gist options
  • Save stefanpenner/ee8a12a05200ec2ee6d4 to your computer and use it in GitHub Desktop.
Save stefanpenner/ee8a12a05200ec2ee6d4 to your computer and use it in GitHub Desktop.
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});
import Ember from 'ember';
var Router = Ember.Router.extend({
location: 'none'
});
Router.map(function() {
});
export default Router;
body { margin: 12px 16px }
<h1>Welcome to {{appName}}</h1><br><br>
<button class="btn btn-lg btn-info">Button</button>
{{outlet}}<br><br>
{
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.js",
"ember": "https://cdnjs.cloudflare.com/ajax/libs/ember.js/1.13.5/ember.js",
"ember-data": "https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/1.13.5/ember-data.js",
"bootstrap-css": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.css"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment