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/virtualscroll.jsx.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'web/src/js/components/virtualscroll.jsx.js') diff --git a/web/src/js/components/virtualscroll.jsx.js b/web/src/js/components/virtualscroll.jsx.js index 4f946cb4..956e1a0b 100644 --- a/web/src/js/components/virtualscroll.jsx.js +++ b/web/src/js/components/virtualscroll.jsx.js @@ -1,3 +1,5 @@ +var React = require("react"); + var VirtualScrollMixin = { getInitialState: function () { return { @@ -78,4 +80,6 @@ var VirtualScrollMixin = { viewport.scrollTop = row_bottom - viewport.offsetHeight; } }, -}; \ No newline at end of file +}; + +module.exports = VirtualScrollMixin; \ No newline at end of file -- cgit v1.2.3