24 lines
930 B
JavaScript
24 lines
930 B
JavaScript
var myManifest = {
|
|
Debug: (window.location.port !== ""),
|
|
Name: "Il Lievitario",
|
|
Version: "2.9.3.2",
|
|
Author: "Denis Ironi",
|
|
Settings: {
|
|
DefaultURL: (window.location.port === "" ? "http://" + window.location.host + "/Service": "http://" + window.location.hostname + ":" + window.location.port + "/Service_Manut"),
|
|
JQueryVersion: "1.11.1",
|
|
JQueryMobileVersion: "1.4.5",
|
|
Device: {
|
|
Width: (window.innerWidth > 0) ? window.innerWidth : screen.width,
|
|
Height: (window.innerHeight > 0) ? window.innerHeight : screen.height
|
|
}
|
|
},
|
|
Agent: (new UAParser()).getResult(),
|
|
getUrlArg: function () {
|
|
return this.Version;
|
|
},
|
|
getGPublicApiKey: function () {
|
|
if (myManifest.Debug)
|
|
return "AIzaSyBnai4MPffctg_ygCCincgjFUBQaytCH9k";
|
|
return "AIzaSyCwZVaNHV_z79Uull23XpBlP-5jTkzI3rE";
|
|
}
|
|
}; |