Skip to content

Instantly share code, notes, and snippets.

@CodeOfficer
Created February 21, 2012 22:16
Show Gist options
  • Save CodeOfficer/1879397 to your computer and use it in GitHub Desktop.
Save CodeOfficer/1879397 to your computer and use it in GitHub Desktop.
This is from my ember-jasmine-standalone base app that I'm working on for our next project. Wether it gets used or not will depend largely on where ember-data is at the time we get our next project.
www
├── app.css
├── app.js
├── index.html
├── test.css
├── test.html
├── test.js
├── vendor.css
└── vendor.js
!!!
%html
%head
%title App
%link{:href => 'vendor.css', :rel => 'stylesheet', :type => 'text/css'}
%link{:href => 'app.css', :rel => 'stylesheet', :type => 'text/css'}
%script{:src => 'vendor.js'}
%script{:src => 'app.js'}
%body
:javascript
window.App = Ember.Application.create();
!!!
%html
%head
%title Test Application
%link{:href => 'vendor.css', :rel => 'stylesheet', :type => 'text/css'}
%link{:href => 'app.css', :rel => 'stylesheet', :type => 'text/css'}
%link{:href => 'test.css', :rel => 'stylesheet', :type => 'text/css'}
%script{:src => 'vendor.js'}
%script{:src => 'app.js'}
%script{:src => 'test.js'}
%body
:javascript
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment