Skip to content
This repository was archived by the owner on Apr 8, 2021. It is now read-only.

Commit 727c6d7

Browse files
committed
Version 2.0.4
1 parent bc225fe commit 727c6d7

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudinary-core",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"homepage": "http://cloudinary.com",
55
"authors": [
66
{

cloudinary-core.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Cloudinary's JavaScript library - Version 2.0.3
2+
* Cloudinary's JavaScript library - Version 2.0.4
33
* Copyright Cloudinary
44
* see https://github.com/cloudinary/cloudinary_js
55
*/
@@ -2216,7 +2216,7 @@
22162216
return Cloudinary = (function() {
22172217
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, parentWidth;
22182218

2219-
VERSION = "2.0.3";
2219+
VERSION = "2.0.4";
22202220

22212221
CF_SHARED_CDN = "d3jpl91pxevbkh.cloudfront.net";
22222222

@@ -2279,7 +2279,7 @@
22792279
this.devicePixelRatioCache = {};
22802280
this.responsiveConfig = {};
22812281
this.responsiveResizeInitialized = false;
2282-
configuration = new cloudinary.Configuration(options);
2282+
configuration = new Configuration(options);
22832283
this.config = function(newConfig, newValue) {
22842284
return configuration.config(newConfig, newValue);
22852285
};
@@ -2795,7 +2795,7 @@
27952795
};
27962796

27972797
cloudinaryUrlPrefix = function(publicId, options) {
2798-
var cdnPart, host, path, protocol, ref, ref1, subdomain;
2798+
var cdnPart, host, path, protocol, ref, subdomain;
27992799
if (((ref = options.cloud_name) != null ? ref.indexOf("/") : void 0) === 0) {
28002800
return '/res' + options.cloud_name;
28012801
}
@@ -2806,8 +2806,6 @@
28062806
path = "/" + options.cloud_name;
28072807
if (options.protocol) {
28082808
protocol = options.protocol + '//';
2809-
} else if ((typeof window !== "undefined" && window !== null ? (ref1 = window.location) != null ? ref1.protocol : void 0 : void 0) === 'file:') {
2810-
protocol = 'file://';
28112809
}
28122810
if (options.private_cdn) {
28132811
cdnPart = options.cloud_name + "-";
@@ -3055,7 +3053,7 @@
30553053
(function() {
30563054
(function(root, factory) {
30573055
if ((typeof define === 'function') && define.amd) {
3058-
return define('cloudinary-core-full',['utf8_encode', 'crc32', 'util', 'transformation', 'configuration', 'tags/htmltag', 'tags/imagetag', 'tags/videotag', 'cloudinary'], factory);
3056+
return define(['utf8_encode', 'crc32', 'util', 'transformation', 'configuration', 'tags/htmltag', 'tags/imagetag', 'tags/videotag', 'cloudinary'], factory);
30593057
} else if (typeof exports === 'object') {
30603058
return module.exports = factory(require('utf8_encode'), require('crc32'), require('util'), require('transformation'), require('configuration'), require('tags/htmltag'), require('tags/imagetag'), require('tags/videotag'), require('cloudinary'));
30613059
} else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloudinary-core",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "Cloudinary streamlines your web application’s image manipulation needs. Cloudinary's cloud-based servers automate image uploading, resizing, cropping, optimizing, sprite generation and more.",
55
"main": "cloudinary-core.js",
66
"repository": {

0 commit comments

Comments
 (0)