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',
|
2015-05-09 19:53:19 +00:00
|
|
|
'app/actions/project', 'app/actions/build'
|
2015-04-12 22:41:09 +00:00
|
|
|
], function(
|
2015-05-09 19:53:19 +00:00
|
|
|
React, template, Components,
|
|
|
|
ProjectActions, BuildActions
|
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 15:23:01 +00:00
|
|
|
|
2015-05-03 23:04:51 +00:00
|
|
|
ProjectActions.readAll();
|
2015-05-09 19:53:19 +00:00
|
|
|
BuildActions.readAll();
|
2015-04-10 20:17:03 +00:00
|
|
|
});
|