twig.module.js | |
---|---|
| |
twig.module.jsProvide a CommonJS module export. | if (typeof module !== 'undefined' && module.declare) { |
Provide a CommonJS Modules/2.0 draft 8 module | module.declare([], function(require, exports, module) { |
Add exports from the Twig exports | for (key in Twig.exports) {
if (Twig.exports.hasOwnProperty(key)) {
exports[key] = Twig.exports[key];
}
}
});
} else if (typeof module !== 'undefined' && module.exports) { |
Provide a CommonJS Modules/1.1 module | module.exports = Twig.exports;
} else { |
Export for browser use | window.twig = Twig.exports.twig;
window.Twig = Twig.exports;
}
|