This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createStore, applyMiddleware, compose } from 'redux' | |
import thunk from 'redux-thunk' | |
import reducer from '../reducers' | |
const helloWorldEnhancer = () => { | |
return nextCreateStore => (reducer, initialState) => { | |
const store = nextCreateStore(reducer, initialState) | |
const originalDispatch = store.dispatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index d66584f..8b008b6 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -69,6 +69,7 @@ | |
"karma-sinon": "1.0.4", | |
"karma-spec-reporter": "0.0.23", | |
"karma-webpack": "1.7.0", | |
+ "lodash.pick": "4.0.0", | |
"mocha": "2.3.4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template name="helper_test"> | |
{{#each test_objects}} | |
<p>Object: {{helper-test this}}</p> | |
{{/each}} | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
Backbone.syncWithoutUpload = Backbone.sync | |
Backbone.syncWithUpload = function(method, model, options) { | |
// Create iframe | |
var iframe_id = 'file_upload_iframe_' + Date.now() | |
, iframe = jQuery('<iframe id="' + iframe_id + '" name="' + iframe_id + '" ></iframe>').hide() | |
var toForm = function(object, nested) { | |
inputs = _.map(object, | |
function(attr, key) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> mrt -p 5555 ~/work/m/tmp/js-yaml 1.9.3p0 | |
Stand back while Meteorite does it's thing | |
Installing Meteor | |
branch: https://github.com/meteor/meteor.git#master | |
Installing smart packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meteor": { | |
"branch": "auth", | |
"patches": [ | |
"https://github.com/meteor/meteor/pull/334.patch" | |
] | |
}, | |
"packages": {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var firstBlood = true; | |
Template.foof.moof = function() { | |
if (firstBlood) { | |
firstBlood = false; | |
doShitFirstTimeAround(); | |
} else{ |