Skip to content

Commit

Permalink
Bump to 1.1.0 and check in dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Eberle committed Aug 28, 2017
1 parent 1b04bd7 commit 37139c2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imgix-core-js",
"version": "1.0.7",
"version": "1.1.0",
"homepage": "https://github.com/imgix/imgix-core-js",
"authors": [
"Kelly Sutton <michael.k.sutton@gmail.com>",
Expand Down
9 changes: 2 additions & 7 deletions dist/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var md5 = _md5;
var Base64 = _jsBase64;

var VERSION = '1.0.7';
var VERSION = '1.1.0';
var DEFAULTS = {
host: null,
useHTTPS: true,
Expand Down Expand Up @@ -70,15 +70,10 @@
// Use de/encodeURIComponent to ensure *all* characters are handled,
// since it's being used as a path
path = encodeURIComponent(path);
} else if (/^https?%3A%2F%2F/.test(path)) {
// Decode and re-encode the path, to ensure that it's fully, correctly encoded.
// Use de/encodeURIComponent to ensure *all* characters are handled,
// since it's being used as a path
path = decodeURIComponent(encodeURIComponent(path));
} else {
// Use de/encodeURI if we think the path is just a path,
// so it leaves legal characters like '/' and '@' alone
path = decodeURI(encodeURI(path));
path = encodeURI(path);
}

return '/' + path;
Expand Down
2 changes: 1 addition & 1 deletion dist/imgix-core-js.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "imgix-core-js",
"description": "Common boilerplate for all imgix JavaScript-based functionality.",
"version": "1.0.7",
"version": "1.1.0",
"repository": "https://github.com/imgix/imgix-core-js",
"scripts": {
"assert_version": "node assert_version.js",
Expand Down
2 changes: 1 addition & 1 deletion src/imgix-core-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var md5 = _md5;
var Base64 = _jsBase64;

var VERSION = '1.0.7';
var VERSION = '1.1.0';
var DEFAULTS = {
host: null,
useHTTPS: true,
Expand Down

0 comments on commit 37139c2

Please sign in to comment.