File: application/webfan/node_modules/webfan/hps-main.js

Recommend this page to a friend!
  Classes of Till Wehowski   µ.Flow   application/webfan/node_modules/webfan/hps-main.js   Download  
File: application/webfan/node_modules/webfan/hps-main.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: µ.Flow
General purpose library of objects
Author: By
Last change:
Date: 6 years ago
Size: 736 bytes
 

Contents

Class file image Download
// 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; }); });