Skip to content
Snippets Groups Projects
Commit 88a3f71f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

helper method fixed to properly change url

parent fd72ed2f
No related branches found
No related tags found
1 merge request!58some refactoring giving additional Rest API functionlaity
......@@ -27,6 +27,8 @@ var User = require("../../main/js/map/data/User");
var Cookies = require('js-cookie');
var jsdom = require('jsdom');
var GuiConnector = require('../../main/js/GuiConnector');
function Helper() {
this.idCounter = 1000000;
}
......@@ -354,6 +356,7 @@ Helper.prototype.setUrl = function(url) {
for ( var cookie in cookies) {
Cookies.set(cookie, cookies[cookie]);
}
GuiConnector.init();
};
Helper.EPSILON = 1e-6;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment