Skip to content

Instantly share code, notes, and snippets.

View aroberts's full-sized avatar

Andrew Roberts aroberts

View GitHub Profile
anonymous
anonymous / index.html
Created June 12, 2015 20:23
Ember Starter Kit // source http://emberjs.jsbin.com/cijixisavo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Starter Kit</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://builds.emberjs.com/tags/v1.12.0/ember-template-compiler.js"></script>
<script src="http://builds.emberjs.com/tags/v1.12.0/ember.debug.js"></script>
<script src="http://builds.emberjs.com/tags/v1.0.0-beta.18/ember-data.js"></script>
@machty
machty / document-title-router.js
Created January 14, 2014 05:12
document.title integration in ember
// Extend Ember.Route to add support for sensible
// document.title integration.
Ember.Route.reopen({
// `titleToken` can either be a static string or a function
// that accepts a model object and returns a string (or array
// of strings if there are multiple tokens).
titleToken: null,