Allow modules to be fetched remotely.

This commit is contained in:
Chad Weider 2012-01-30 21:49:04 -08:00
parent b5ddba8741
commit 64ae1c433f
3 changed files with 7 additions and 1 deletions

View file

@ -204,7 +204,9 @@
<script type="text/javascript" >
var clientVars = {};
(function () {
var TimeSlider = require('/timeslider').init();
require.setRootURI("../minified/");
require.setGlobalKeyPath("require");
require('/timeslider').init();
/* TODO: These globals shouldn't exist. */
padeditbar = require('/pad_editbar').padeditbar;