Skip to content

Commit 1b94c12

Browse files
committed
chore(dist): build dist files
1 parent 1e08a47 commit 1b94c12

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

dist/hello.all.js

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

@@ -1541,8 +1541,12 @@ hello.utils.extend(hello.utils, {
15411541
// (URI Fragments within 302 Location URI are lost over HTTPS)
15421542
// Loading the redirect.html before triggering the OAuth Flow seems to fix it.
15431543
else if ('oauth_redirect' in p) {
1544+
var url = decodeURIComponent(p.oauth_redirect);
1545+
1546+
if (isValidUrl(url)) {
1547+
location.assign(url);
1548+
}
15441549

1545-
location.assign(decodeURIComponent(p.oauth_redirect));
15461550
return;
15471551
}
15481552

dist/hello.all.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hello.js

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

@@ -1541,8 +1541,12 @@ hello.utils.extend(hello.utils, {
15411541
// (URI Fragments within 302 Location URI are lost over HTTPS)
15421542
// Loading the redirect.html before triggering the OAuth Flow seems to fix it.
15431543
else if ('oauth_redirect' in p) {
1544+
var url = decodeURIComponent(p.oauth_redirect);
1545+
1546+
if (isValidUrl(url)) {
1547+
location.assign(url);
1548+
}
15441549

1545-
location.assign(decodeURIComponent(p.oauth_redirect));
15461550
return;
15471551
}
15481552

0 commit comments

Comments
 (0)