UNPKG

curl-amd

Version:

curl.js is small, fast, extensible module loader that handles AMD, CommonJS Modules/1.1, CSS, HTML/text, and legacy scripts.

17 lines (11 loc) 219 B
// fake plugin define(function () { var plugin; plugin = { load: function (name, resolver, callback, config) { plugin.testValue = config.testValue; callback(config.testValue); } }; return plugin; });