1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/static/src/js/app.js

13 lines
468 B
JavaScript
Raw Normal View History

2015-11-23 18:46:11 +00:00
/* global $ */
2015-12-01 08:38:09 +00:00
2015-12-28 18:17:49 +00:00
require('./events.js');
2015-12-01 08:33:23 +00:00
2015-10-19 13:04:49 +01:00
var React = require('react');
2015-12-11 08:44:48 +00:00
var ProjectImagesTypes = require('./components/index/project-images-types');
var ProjectImagesMain = require('./components/index/project-images-main');
2015-12-01 08:33:23 +00:00
if ($('body').hasClass('index')) { // Render components on index
React.render(<ProjectImagesTypes />, document.getElementById('project-images-types'));
React.render(<ProjectImagesMain />, document.getElementById('project-images-main'));
}