vendor/assets/javascripts/cloudinary/jquery.iframe-transport.js in cloudinary-1.1.0 vs vendor/assets/javascripts/cloudinary/jquery.iframe-transport.js in cloudinary-1.1.1
- old
+ new
@@ -1,22 +1,25 @@
/*
- * jQuery Iframe Transport Plugin 1.8.2
+ * jQuery Iframe Transport Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
-/* global define, window, document */
+/* global define, require, window, document */
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define(['jquery'], factory);
+ } else if (typeof exports === 'object') {
+ // Node/CommonJS:
+ factory(require('jquery'));
} else {
// Browser globals:
factory(window.jQuery);
}
}(function ($) {