From 43d817d0609039c2dcfa6778d54de364597103e6 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 4 Jul 2015 11:48:55 -0700 Subject: [PATCH] fix use assign module instead of Object.assign Object.assign not available in most browser yet... --- common/app/app-stream.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/app/app-stream.jsx b/common/app/app-stream.jsx index 9c811f7457..2942a38371 100644 --- a/common/app/app-stream.jsx +++ b/common/app/app-stream.jsx @@ -1,4 +1,5 @@ import Rx from 'rx'; +import assign from 'object.assign'; import { Router } from 'react-router'; import App from './App.jsx'; @@ -6,7 +7,7 @@ import childRoutes from './routes'; const router$ = Rx.Observable.fromNodeCallback(Router.run, Router); -const routes = Object.assign({ components: App }, childRoutes); +const routes = assign({ components: App }, childRoutes); export default function app$(location) { return router$(routes, location);