From 2c0e17cb977a1e8782799b337df8b1583d019906 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 12 Oct 2015 22:36:01 +0200 Subject: bootstraping react --- src/web/js/app.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/web/js/app.js (limited to 'src/web/js/app.js') diff --git a/src/web/js/app.js b/src/web/js/app.js new file mode 100644 index 00000000..603172b3 --- /dev/null +++ b/src/web/js/app.js @@ -0,0 +1,17 @@ +/** + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +var React = require('react'); + +var MainApp = require('./components/MainApp.react'); + +React.render( + , + document.getElementById('jarrapp') +); -- cgit From 9ac90ba4bb85e2fab5cfc73ad9d6f3ec71c5b854 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Thu, 28 Jan 2016 11:44:20 +0100 Subject: restoring build command --- src/web/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/web/js/app.js') diff --git a/src/web/js/app.js b/src/web/js/app.js index 603172b3..00156670 100644 --- a/src/web/js/app.js +++ b/src/web/js/app.js @@ -8,10 +8,11 @@ */ var React = require('react'); +var ReactDOM = require('react-dom'); var MainApp = require('./components/MainApp.react'); -React.render( +ReactDOM.render( , document.getElementById('jarrapp') ); -- cgit