Skip to content

Instantly share code, notes, and snippets.

View craigteegarden's full-sized avatar

Craig Teegarden craigteegarden

View GitHub Profile
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
showHasComments: false,
showHasCommentsTriggersFetch: false,
actions: {
toggle(propertyName) {

Keybase proof

I hereby claim:

  • I am craigteegarden on github.
  • I am craigteegarden ( on keybase.
  • I have a public key ASCqB7GmQPl0Ru38vlMfYL6RkzuYq9vSS6TsF1U3iY3qPwo

To claim this, I am signing this object:

craigteegarden / print-style.html
Created March 4, 2015 16:31
quick-n-dirty printing styling for
p,ul,.highlight {font-size: .7em;} p,h2,h1,h3,h4,h5,h6 {margin-top: .5em; margin-bottom: .5em}
craigteegarden / gist:6721876
Created September 26, 2013 23:09
Ember Data 1.0 beta ISO date transform
// modified from
// formatted for isodate format.
// deserialize was left alone, serialize was modified
// also, see:
// WARNING! Requires Date.toJSON() to exist (natively or with shim)
App.IsodateTransform = DS.Transform.extend({
deserialize: function(serialized) {
var type = typeof serialized;
if (type === "string") {