I hereby claim:
- I am tomdale on github.
- I am tomdale (https://keybase.io/tomdale) on keybase.
- I have a public key whose fingerprint is 2E8C 3BCE D5D0 939C 86AB 1B2E 2B57 2943 FC4D A5BF
To claim this, I am signing this object:
// from https://www.skylight.io | |
import Ember from "ember"; | |
import { test, moduleForComponent } from 'ember-qunit'; | |
import Util from "app/system/util"; | |
var run = Ember.run; | |
moduleForComponent("billing-trial-status", "billing-trial-status component", { | |
needs: [ |
/* | |
Example usage: | |
import logger from "app/system/logger"; | |
var LOG = logger.loggerFor("topic"'); | |
LOG.log({ | |
event: "data received", | |
secondary: { | |
resource: "photo", |
/*! | |
handlebars v2.0.0-alpha.2 | |
Copyright (C) 2011-2014 by Yehuda Katz | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
// app/helpers/format-date.js | |
export default Ember.Handlebars.makeBoundHelper(function(value, options) { | |
if (!value) { return; } | |
options = options.hash; | |
var m = moment(value); | |
var now = moment(); |
export default Ember.ArrayProxy.extend({ | |
localStorageKey: null, | |
init: function() { | |
var localStorageKey = this.get('localStorageKey'); | |
if (!localStorageKey) { | |
throw new Error("You must specify which property name should be used to save " + this + " in localStorage by setting its localStorageKey property."); | |
} |
I hereby claim:
To claim this, I am signing this object:
function buildRecord(type, data, store) { | |
var containerKey = 'model:' + type; | |
var factory = store.container.lookupFactory(containerKey); | |
var record = factory.create({ | |
id: data.id, | |
$data: data | |
}); |
Man, doesn't the San Francisco real estate market suck? Everything is tiny and expensive, and if you're new to the city, I bet you're feeling really overwhelmed.
But good news! Available for one lucky person is the opportunity to rent a room in a huge (by SF standards) house in Noe Valley with two of the most awesome housemates you could ask for.
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.axis { | |
font: 10px sans-serif; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
user-select: none; | |
} |
By customizing the display of D3’s brush component, you can make a single-handle slider. Or, by using custom resize handles, you can make a two-handled slider.