29 lines
814 B
JavaScript
29 lines
814 B
JavaScript
(function umd(root, factory) {
|
|
if (typeof module === 'object' && typeof exports === 'object')
|
|
module.exports = factory();
|
|
else if (typeof define === 'function' && define.amd)
|
|
define([], factory);
|
|
else
|
|
root.appConfig = factory();
|
|
})(this, function factory() {
|
|
'use strict';
|
|
|
|
var contextPath = "";
|
|
var apiVersion = "";
|
|
var basePath = contextPath + apiVersion;
|
|
|
|
var appVersion = "@@version";
|
|
var resourcesTimestamp = "?v=@@timestamp";
|
|
|
|
var getOwl = basePath + "/get-owl";
|
|
var getTables = basePath + "/get-tables";
|
|
var makeIntegration = basePath + "/make-integration";
|
|
|
|
return {
|
|
version: appVersion,
|
|
timestamp: resourcesTimestamp,
|
|
owl: getOwl,
|
|
tables: getTables,
|
|
integration: makeIntegration
|
|
};
|
|
}); |