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:
@ -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({
|
||||
|
Reference in New Issue
Block a user