Skip to content

Commit

Permalink
Doesn't work when MediumEditor is not defined globally (e.g., when mo…
Browse files Browse the repository at this point in the history
…dule is defined, e.g., in Meteor) (yabwe#41)

* Update medium-editor-tables.js

if module != undefined this doesnt work. (e.g., Meteor)

* Update medium-editor-tables.js

* Update medium-editor-tables.js

* Update medium-editor-tables.js

* Update medium-editor-tables.js

* Update medium-editor-tables.js

* Update medium-editor-tables.js
  • Loading branch information
znewsham authored and j0k3r committed May 29, 2018
1 parent cf23596 commit 6b72b23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/js/medium-editor-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
} else {
root.MediumEditorTable = factory;
}
}(this, function () {
}(this, function (MediumEditor) {

'use strict';

Expand Down Expand Up @@ -606,4 +606,4 @@ MediumEditorTable = MediumEditor.extensions.form.extend({
});

return MediumEditorTable;
}()));
}(typeof require === 'function' ? require('medium-editor') : MediumEditor)));

0 comments on commit 6b72b23

Please sign in to comment.