You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/08/04 14:09:24 UTC

svn commit: r1615537 - /jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js

Author: andy
Date: Mon Aug  4 12:09:24 2014
New Revision: 1615537

URL: http://svn.apache.org/r1615537
Log:
Tidy up

Modified:
    jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js

Modified: jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js
URL: http://svn.apache.org/viewvc/jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js?rev=1615537&r1=1615536&r2=1615537&view=diff
==============================================================================
--- jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js (original)
+++ jena/Experimental/jena-fuseki2/src/main/webapp/js/app/models/fuseki-server.js Mon Aug  4 12:09:24 2014
@@ -23,13 +23,9 @@ define(
     var FusekiServer = Backbone.Model.extend( {
       /** This initializer occurs when the module starts, not when the constructor is invoked */
       init: function( options ) {
-        /*
-        this._baseURL = sprintf( "http://%s:%s", window.location.hostname, window.location.port );
-        */
-	// The base URL is the page and includes the webapp name.
+	// The base URL includes the webapp name.
 	// Remove everything from the last "/" (inc frag and query string)
 	// Leave it with no trailing "/"
-
 	var b = window.location.href ;
 	b = b.replace(/#[^#]*$/, "") ;
 	b = b.replace(/\?[^\?]*$/, "") ;