nci/static/js/app/app.js

15 lines
287 B
JavaScript
Raw Normal View History

2015-04-10 20:17:03 +00:00
'use strict';
2015-04-12 22:41:09 +00:00
define([
2015-05-03 23:04:51 +00:00
'react', 'templates/app/index', 'app/components/index',
'app/actions/project'
2015-04-12 22:41:09 +00:00
], function(
2015-05-03 23:04:51 +00:00
React, template, Components, ProjectActions
2015-04-12 22:41:09 +00:00
) {
2015-05-03 23:04:51 +00:00
React.render(template({
App: Components.App
2015-05-07 21:55:40 +00:00
}), document.getElementById('content'));
2015-05-03 23:04:51 +00:00
ProjectActions.readAll();
2015-04-10 20:17:03 +00:00
});