Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Version 2.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Tocker committed Jan 2, 2017
1 parent 4cb378e commit e89a4aa
Show file tree
Hide file tree
Showing 23 changed files with 1,635 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudinary-jquery-file-upload",
"version": "2.1.8",
"version": "2.1.9",
"homepage": "http://cloudinary.com",
"authors": [
{
Expand Down
16 changes: 9 additions & 7 deletions cloudinary-jquery-file-upload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/**
* Cloudinary's JavaScript library - Version 2.1.8
* Cloudinary's JavaScript library - Version 2.1.9
* Copyright Cloudinary
* see https://github.com/cloudinary/cloudinary_js
*
Expand Down Expand Up @@ -1370,7 +1370,7 @@ var slice = [].slice,
secure: (typeof window !== "undefined" && window !== null ? (ref = window.location) != null ? ref.protocol : void 0 : void 0) === 'https:'
};

Configuration.CONFIG_PARAMS = ["api_key", "api_secret", "cdn_subdomain", "cloud_name", "cname", "private_cdn", "protocol", "resource_type", "responsive_class", "responsive_use_breakpoints", "responsive_width", "round_dpr", "secure", "secure_cdn_subdomain", "secure_distribution", "shorten", "type", "url_suffix", "use_root_path", "version"];
Configuration.CONFIG_PARAMS = ["api_key", "api_secret", "cdn_subdomain", "cloud_name", "cname", "private_cdn", "protocol", "resource_type", "responsive", "responsive_class", "responsive_use_breakpoints", "responsive_width", "round_dpr", "secure", "secure_cdn_subdomain", "secure_distribution", "shorten", "type", "url_suffix", "use_root_path", "version"];


/**
Expand Down Expand Up @@ -2715,10 +2715,12 @@ var slice = [].slice,
/** @override */

ImageTag.prototype.attributes = function() {
var attr;
var attr, options, srcAttribute;
attr = ImageTag.__super__.attributes.call(this) || [];
if (attr['src'] == null) {
attr['src'] = new Cloudinary(this.getOptions()).url(this.publicId);
options = this.getOptions();
srcAttribute = options.responsive && !options.client_hints ? 'data-src' : 'src';
if (attr[srcAttribute] == null) {
attr[srcAttribute] = new Cloudinary(this.getOptions()).url(this.publicId);
}
return attr;
};
Expand Down Expand Up @@ -2913,7 +2915,7 @@ var slice = [].slice,
Cloudinary = (function() {
var AKAMAI_SHARED_CDN, CF_SHARED_CDN, DEFAULT_POSTER_OPTIONS, DEFAULT_VIDEO_SOURCE_TYPES, OLD_AKAMAI_SHARED_CDN, SHARED_CDN, VERSION, absolutize, applyBreakpoints, cdnSubdomainNumber, closestAbove, cloudinaryUrlPrefix, defaultBreakpoints, finalizeResourceType, findContainerWidth, maxWidth, updateDpr;

VERSION = "2.1.8";
VERSION = "2.1.9";

CF_SHARED_CDN = "d3jpl91pxevbkh.cloudfront.net";

Expand Down Expand Up @@ -4148,7 +4150,7 @@ var slice = [].slice,
TextLayer: TextLayer,
SubtitlesLayer: SubtitlesLayer,
Cloudinary: Cloudinary,
VERSION: "2.1.8",
VERSION: "2.1.9",
CloudinaryJQuery: CloudinaryJQuery
};
return cloudinary;
Expand Down
6 changes: 3 additions & 3 deletions cloudinary-jquery-file-upload.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cloudinary-jquery-file-upload.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit e89a4aa

Please sign in to comment.