浏览代码

commented module.exports

Artur Paikin 8 年之前
父节点
当前提交
40dfeefde3
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/core/Core.js

+ 6 - 0
src/core/Core.js

@@ -464,6 +464,12 @@ class Uppy {
   }
   }
 }
 }
 
 
+// module.exports = function (opts) {
+//   if (!(this instanceof Uppy)) {
+//     return new Uppy(opts)
+//   }
+// }
+
 export default function (opts) {
 export default function (opts) {
   if (!(this instanceof Uppy)) {
   if (!(this instanceof Uppy)) {
     return new Uppy(opts)
     return new Uppy(opts)