Skip to content

Instantly share code, notes, and snippets.

View possibilities's full-sized avatar

Mike Bannister possibilities

View GitHub Profile
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
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",
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",
@possibilities
possibilities / test.html
Last active December 20, 2015 22:48 — forked from anonymous/test.html
<template name="helper_test">
{{#each test_objects}}
<p>Object: {{helper-test this}}</p>
{{/each}}
</template>
(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) {

Talk

Why I got interested Meteor

Guiding principals

Demo

Build Hipchat clone (aka backup business model for Versal)

Git For People Who Want To Git

Terms

Working tree All uncommited changes

Staging area Uncommited changes you've told git you want to include in a commit

Branches

> 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
{
"meteor": {
"branch": "auth",
"patches": [
"https://github.com/meteor/meteor/pull/334.patch"
]
},
"packages": {}
}
(function() {
var firstBlood = true;
Template.foof.moof = function() {
if (firstBlood) {
firstBlood = false;
doShitFirstTimeAround();
} else{