Skip to content

Commit

Permalink
chore(dist): build dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSwitch committed Oct 6, 2020
1 parent 1e08a47 commit 1b94c12
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
8 changes: 6 additions & 2 deletions dist/hello.all.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! hellojs v1.18.4 | (c) 2012-2020 Andrew Dodson | MIT https://adodson.com/hello.js/LICENSE */
/*! hellojs v1.18.6 | (c) 2012-2020 Andrew Dodson | MIT https://adodson.com/hello.js/LICENSE */
// ES5 Object.create
if (!Object.create) {

Expand Down Expand Up @@ -1541,8 +1541,12 @@ hello.utils.extend(hello.utils, {
// (URI Fragments within 302 Location URI are lost over HTTPS)
// Loading the redirect.html before triggering the OAuth Flow seems to fix it.
else if ('oauth_redirect' in p) {
var url = decodeURIComponent(p.oauth_redirect);

if (isValidUrl(url)) {
location.assign(url);
}

location.assign(decodeURIComponent(p.oauth_redirect));
return;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/hello.all.min.js

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions dist/hello.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! hellojs v1.18.4 | (c) 2012-2020 Andrew Dodson | MIT https://adodson.com/hello.js/LICENSE */
/*! hellojs v1.18.6 | (c) 2012-2020 Andrew Dodson | MIT https://adodson.com/hello.js/LICENSE */
// ES5 Object.create
if (!Object.create) {

Expand Down Expand Up @@ -1541,8 +1541,12 @@ hello.utils.extend(hello.utils, {
// (URI Fragments within 302 Location URI are lost over HTTPS)
// Loading the redirect.html before triggering the OAuth Flow seems to fix it.
else if ('oauth_redirect' in p) {
var url = decodeURIComponent(p.oauth_redirect);

if (isValidUrl(url)) {
location.assign(url);
}

location.assign(decodeURIComponent(p.oauth_redirect));
return;
}

Expand Down
Loading

0 comments on commit 1b94c12

Please sign in to comment.