first pass at extracting version code from the minified javascript

still needs some work, but will get something working in the test builds for now...
This commit is contained in:
Jon Atkins
2014-08-14 23:54:36 +01:00
parent aa01bcf66f
commit 9ab6bea90d
6 changed files with 29 additions and 37 deletions

View File

@ -63,7 +63,7 @@ window.postAjax = function(action, data, successCallback, errorCallback) {
return;
}
var versionStr = nemesis.dashboard.config.CURRENT_VERSION;
var versionStr = niantic_params.CURRENT_VERSION;
var post_data = JSON.stringify($.extend({}, data, {v: versionStr, b: "", c: ""}));
var result = $.ajax({