Skip to content

Commit 9b30ad7

Browse files
committed
Reverted build for now
1 parent 543829e commit 9b30ad7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ require([
4444
Proxino.key = "QI-BctdhtytsUUJERc5HfA";
4545
Proxino.track_errors();
4646

47-
var appView = Vm.create({}, 'AppView', AppView, Config);
47+
var appView = Vm.create({}, 'AppView', AppView);
4848

49-
Router.initialize({appView : appView, config : Config});
49+
Router.initialize({appView : appView});
5050
appView.render(); // render() calls Backbone.history when its ready to start
5151

5252
});

js/router.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,12 @@ define([
4646
':username': 'defaultAction' // All urls will trigger this route
4747
},
4848

49-
getBaseUrl : function() {
50-
return window.location.hostname + this.Config.base_url;
51-
}
5249
});
5350

5451
var initialize = function(options){
5552

5653
var appView = options.appView;
5754
var router = new AppRouter(options);
58-
router.Config = options.config;
5955
Backbone.router = router;
6056
router.on('route:apiPage', function (username, apiname, version, resourceId, method) {
6157
var apiDetailsView = Vm.create(appView, 'page', ApiPageView, {username: username, apiname: apiname, version: version, resourceId: resourceId, method: method});

0 commit comments

Comments
 (0)