Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
linkesch committed Apr 26, 2016
1 parent 15e2041 commit c39da02
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 23 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

2.3.2 / 2016-04-26
==================

* Fix UMD (#320)

2.3.1 / 2016-04-19
==================

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor-insert-plugin",
"version": "2.3.1",
"version": "2.3.2",
"description": "jQuery insert plugin for MediumEditor",
"homepage": "http://linkesch.com/medium-editor-insert-plugin",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion dist/css/medium-editor-insert-plugin-frontend.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* medium-editor-insert-plugin v2.3.1 - jQuery insert plugin for MediumEditor
* medium-editor-insert-plugin v2.3.2 - jQuery insert plugin for MediumEditor
*
* http://linkesch.com/medium-editor-insert-plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/css/medium-editor-insert-plugin-frontend.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/medium-editor-insert-plugin.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* medium-editor-insert-plugin v2.3.1 - jQuery insert plugin for MediumEditor
* medium-editor-insert-plugin v2.3.2 - jQuery insert plugin for MediumEditor
*
* http://linkesch.com/medium-editor-insert-plugin
*
Expand Down
2 changes: 1 addition & 1 deletion dist/css/medium-editor-insert-plugin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 16 additions & 14 deletions dist/js/medium-editor-insert-plugin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* medium-editor-insert-plugin v2.3.1 - jQuery insert plugin for MediumEditor
* medium-editor-insert-plugin v2.3.2 - jQuery insert plugin for MediumEditor
*
* http://linkesch.com/medium-editor-insert-plugin
*
Expand All @@ -9,21 +9,23 @@

(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', 'handlebars', 'medium-editor', 'blueimp-file-upload', 'jquery-sortable'], factory);
define(['jquery', 'handlebars/runtime', 'medium-editor', 'blueimp-file-upload', 'jquery-sortable'], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = function( root, jQuery ) {
if ( jQuery === undefined ) {
if ( typeof window !== 'undefined' ) {
jQuery = require('jquery');
Handlebars = require('handlebars');
MediumEditor = require('medium-editor');
}
else {
jQuery = require('jquery')(root);
Handlebars = require('handlebars')(root);
MediumEditor = require('medium-editor')(root);
}
module.exports = function (jQuery) {
if (typeof window === 'undefined') {
throw new Error("medium-editor-insert-plugin runs only in a browser.")
}

if (jQuery === undefined) {
jQuery = require('jquery');
}
window.jQuery = jQuery;

Handlebars = require('handlebars/runtime');
MediumEditor = require('medium-editor');
require('jquery-sortable');
require('blueimp-file-upload');

factory(jQuery, Handlebars, MediumEditor);
return jQuery;
};
Expand Down
6 changes: 3 additions & 3 deletions dist/js/medium-editor-insert-plugin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor-insert-plugin",
"version": "2.3.1",
"version": "2.3.2",
"description": "jQuery insert plugin for MediumEditor",
"main": "dist/js/medium-editor-insert-plugin.js",
"homepage": "http://linkesch.com/medium-editor-insert-plugin",
Expand Down

0 comments on commit c39da02

Please sign in to comment.