Skip to content

Instantly share code, notes, and snippets.

View wooandoo's full-sized avatar

Frédéric Mascaro wooandoo

View GitHub Profile
import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import connect from 'ember-redux/components/connect';
var stateToComputed = (state) => {
return {
number: state.number
};
};
@wooandoo
wooandoo / tracer.js
Last active December 11, 2015 08:28 — forked from livingston/tracer.js
/* tracer.js - A tracer utility in 2kb
*
* @author Angus Croll
* http://javascriptweblog.wordpress.com/2010/06/01/a-tracer-utility-in-2kb/
*/
String.prototype.times = function(count) {
return count < 1 ? '' : new Array(count + 1).join(this);
}