Update requirejs.js

This commit is contained in:
Fin Chen 2014-11-26 11:20:04 +08:00
parent 152348e760
commit d13ae118e1

View file

@ -2,10 +2,6 @@
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([], function() { return fabric });
}