Skip to content

Instantly share code, notes, and snippets.

require('static/script/vendor/filtersortpage.js');
require('static/script/app/person.js');
describe ("Pagination Tests", function(){
var sut, models, first, second, third;
beforeEach(function(){
first = Ember.Object.create({id: 1, username: 'first'});
second = Ember.Object.create({id: 2, username: 'second'});

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result

It All Starts With Templates

An Ember application starts with its main template. Put your header, footer, and any other decorative content in application.handlebars.

<header>
  <img src="masthead">
</header>

<footer>
{
"cmd": ["grunt", "develop"],
"selector": ["source.js", "source.less", "source.json"],
"path": "/usr/bin"
}