mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-20 19:31:52 +00:00
11 lines
307 B
JavaScript
11 lines
307 B
JavaScript
/* Footer for requirejs AMD support */
|
|
|
|
window.fabric = fabric;
|
|
|
|
// make sure exports.fabric is always defined when used as 'global' later scopes
|
|
var exports = exports || {};
|
|
exports.fabric = fabric;
|
|
|
|
if (typeof define === "function" && define.amd) {
|
|
define("fabric", [], function() { return fabric });
|
|
}
|