From bc8687deb5f0f9273fc771e79b070f3b49e39fed Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 30 Dec 2014 21:51:07 +1300 Subject: Basic conversion: browserified web app now works. --- web/src/js/components/utils.jsx.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'web/src/js/components/utils.jsx.js') diff --git a/web/src/js/components/utils.jsx.js b/web/src/js/components/utils.jsx.js index 1714bfa9..9afcfbc7 100644 --- a/web/src/js/components/utils.jsx.js +++ b/web/src/js/components/utils.jsx.js @@ -1,3 +1,7 @@ +var React = require("react"); +var ReactRouter = require("react-router"); +var _ = require("lodash"); + //React utils. For other utilities, see ../utils.js // http://blog.vjeux.com/2013/javascript/scroll-position-with-react.html (also contains inverse example) @@ -181,4 +185,12 @@ var Splitter = React.createClass({ ); } -}); \ No newline at end of file +}); + +module.exports = { + State: State, + Navigation: Navigation, + StickyHeadMixin: StickyHeadMixin, + AutoScrollMixin: AutoScrollMixin, + Splitter: Splitter +} \ No newline at end of file -- cgit v1.2.3