// this triggers CommonJS precompile when loaded by hps : var moduleLoader = require('webfan/cjs/frdlcjs');
require( ['exports', 'webfan/bootcache!feature', 'webfan/bootcache!implementations', 'feature!STAGE', 'feature!Modernizr', 'feature!shimming'
//...no-named args
, 'webfan/bootcache!frdlcjs'
],
function(exports, feature, impl, stage, Modernizr, shimming){
// alert('Test Homepage on STAGE: ' + JSON.stringify(stage.main));
// alert('Test Homepage on STAGE: ' + JSON.stringify(shimming.getFeature('Modernizr')));
require([stage.main], function(main){
// console.log(main);
frdl = main;
// var test = require('vm');
// console.dir(test);
exports = main;
});
});
|