webpack
Version:
Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.
11 lines • 1.37 kB
JavaScript
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([/*!************************************!*\
!*** ./parsing/issue-387/index.js ***!
\************************************/
function(t,e,r){var n,o,n,n;it("should parse cujojs UMD modules",function(){!function(){n=function(){return 123}.call(e,r,e,t),!(void 0!==n&&(t.exports=n))}(r(/*! !webpack amd define */1)),t.exports.should.be.eql(123)}),it("should parse cujojs UMD modules with deps",function(){!function(){o=[r(/*! ./file */2)],n=function(){return 1234}.apply(e,o),!(void 0!==n&&(t.exports=n))}(r(/*! !webpack amd define */1)),t.exports.should.be.eql(1234)}),it("should parse cujojs UMD modules with inlinded deps",function(){!function(){n=function(){/*! ./file */
return r(2)}.call(e,r,e,t),!(void 0!==n&&(t.exports=n))}(r(/*! !webpack amd define */1)),t.exports.should.be.eql(4321)})},/*!***************************************!*\
!*** (webpack)/buildin/amd-define.js ***!
\***************************************/
function(t){t.exports=function(){throw new Error("define cannot be used indirect")}},/*!***********************************!*\
!*** ./parsing/issue-387/file.js ***!
\***********************************/
function(t){t.exports=4321}]);