You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2013/03/15 22:50:08 UTC
[46/50] git commit: Stop using non standard window.location.origin
Stop using non standard window.location.origin
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d6ae1bcf
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d6ae1bcf
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d6ae1bcf
Branch: refs/heads/fauxton-rebase
Commit: d6ae1bcf3d3185cbbec41c9a60627d6d0062f793
Parents: a719669
Author: Russell Branca <ch...@gmail.com>
Authored: Thu Mar 14 14:44:52 2013 -0700
Committer: Russell Branca <ch...@gmail.com>
Committed: Fri Mar 15 14:37:34 2013 -0700
----------------------------------------------------------------------
src/fauxton/app/initialize.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d6ae1bcf/src/fauxton/app/initialize.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/initialize.js b/src/fauxton/app/initialize.js
index eb4a292..6e4a652 100644
--- a/src/fauxton/app/initialize.js
+++ b/src/fauxton/app/initialize.js
@@ -28,7 +28,7 @@ function(app, _, Bootstrap) {
// TODO: pick this up wither at build time or from the browser
root: "/_utils/fauxton/",
// Is this sufficient?
- host: window.location.origin,
+ host: window.location.protocol + "//" + window.location.host,
renderView: function(baseView, selector, view, options, callback) {
baseView.setView(selector, new view(options)).render().then(callback);