Last active
March 8, 2017 18:47
-
-
Save elsmr/2a5c2e7b518ce887c533ed8f0107327d to your computer and use it in GitHub Desktop.
webpack compiled constants: class version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CONSTANTS; }); | |
var SCHEMA = __webpack_require__(183).default; | |
var VERSION = __webpack_require__(1256).version; | |
var CURRENT_HOST = window.location.protocol + "//" + window.location.host; | |
var BADGE_ICON_PREFIX = "badge-"; | |
var CONSTANTS = (function () { | |
function CONSTANTS() { | |
} | |
CONSTANTS.VERSION = VERSION; | |
CONSTANTS.PUBNUB_SUBSCRIBE_KEY = window.__env.PUBNUB_SUBSCRIBE_KEY; | |
CONSTANTS.LOCALSTORAGE_VIEWMODEKEY = "viewMode"; | |
CONSTANTS.URL_BASE = window.__env.DEV_MODE ? window.__env.API_BASE : CURRENT_HOST; | |
CONSTANTS.API_BASE = window.__env.API_BASE + "/api/v3/"; | |
CONSTANTS.SENTRY_URL = window.__env.SENTRY_URL; | |
CONSTANTS.PDF_JS_RESOURCES_PATH = window.__env.DEV_MODE ? "" : "static/"; | |
// ... more constants ... | |
return CONSTANTS; | |
var _a; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment