META-INF.resources.js.common.ext.common.js Maven / Gradle / Ivy
The newest version!
window.OSNZ = window.OSNZ || {};
OSNZ.endpoints = OSNZ.endpoints ? OSNZ.endpoints : { baseUrl: null };
window._t = window._t || function (label, defaultValue) {
return (typeof OSNZ.i18n[label] != 'undefined') ? OSNZ.i18n[label] : ((typeof defaultValue != 'undefined') ? defaultValue : label);
};
window._extTemplate = function (templateName, app) {
var uri = "/" + app + "/views/" + templateName;
if (OSNZ && (typeof OSNZ.extTemplates != 'undefined') && (typeof OSNZ.extTemplates[uri] != 'undefined')) {
return OSNZ.extTemplates[uri];
}
return "";
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy