|
@@ -8,9 +8,9 @@ var _createClass = (function () { function defineProperties(target, props) { for
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
|
|
|
|
|
|
-var Transloadit = (function () {
|
|
|
- function Transloadit(opts) {
|
|
|
- _classCallCheck(this, Transloadit);
|
|
|
+var _default = (function () {
|
|
|
+ function _default(opts) {
|
|
|
+ _classCallCheck(this, _default);
|
|
|
|
|
|
// Dictates in what order different plugin types are ran:
|
|
|
this.types = ['presetter', 'selecter', 'uploader'];
|
|
@@ -19,7 +19,7 @@ var Transloadit = (function () {
|
|
|
this.plugins = {};
|
|
|
}
|
|
|
|
|
|
- _createClass(Transloadit, [{
|
|
|
+ _createClass(_default, [{
|
|
|
key: 'use',
|
|
|
value: function use(Plugin, opts) {
|
|
|
// Instantiate
|
|
@@ -64,8 +64,8 @@ var Transloadit = (function () {
|
|
|
}
|
|
|
}]);
|
|
|
|
|
|
- return Transloadit;
|
|
|
+ return _default;
|
|
|
})();
|
|
|
|
|
|
-exports['default'] = Transloadit;
|
|
|
+exports['default'] = _default;
|
|
|
module.exports = exports['default'];
|