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

Commit

Permalink
v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolundgren committed Jul 2, 2016
1 parent 6459d09 commit f51642c
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "senna",
"version": "1.4.0",
"version": "1.5.1",
"description": "A blazing-fast Single Page Application engine",
"homepage": "http://sennajs.com",
"main": [
Expand Down
8 changes: 4 additions & 4 deletions build/amd/senna/src/screen/RequestScreen.js

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

2 changes: 1 addition & 1 deletion build/amd/senna/src/screen/RequestScreen.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/globals/senna-debug.js

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

4 changes: 2 additions & 2 deletions build/globals/senna-min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/globals/senna.js

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

2 changes: 1 addition & 1 deletion build/globals/senna.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "senna",
"version": "1.5.0",
"version": "1.5.1",
"description": "A blazing-fast Single Page Application engine",
"license": "BSD-3-Clause",
"repository": "liferay/senna.js",
Expand Down
8 changes: 4 additions & 4 deletions src/screen/RequestScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ class RequestScreen extends Screen {
formatLoadPath(path) {
var uri = new Uri(path);

uri.setHostname(window.location.hostname);
uri.setProtocol(window.location.protocol);
uri.setHostname(globals.window.location.hostname);
uri.setProtocol(globals.window.location.protocol);

if (window.location.port) {
uri.setPort(window.location.port);
if (globals.window.location.port) {
uri.setPort(globals.window.location.port);
}

if (UA.isIeOrEdge && this.httpMethod === RequestScreen.GET) {
Expand Down

0 comments on commit f51642c

Please sign in to comment.