Logo
Explore Help
Register Sign In
novoland-developer-networks/OfficialSite
2
0
Fork 0
You've already forked OfficialSite
Code Issues Pull Requests Projects Releases Wiki Activity
Files
b19c18b18cec87475f11b9ae36e257b8893db98b
OfficialSite/assets/scripts/utils/environment.js

9 lines
265 B
JavaScript
Raw Normal View History

rename APP_NAME constant
2019-07-18 11:25:03 -04:00
const APP_NAME = 'Boilerplate';
Revised JS Changes: - Added constants for APP_NAME, DATA_API_KEY; - Added constants for Event and Selector to the Button and Title modules; - Cleaned up syntax for JS modules;
2016-12-18 15:34:38 -05:00
const DATA_API_KEY = '.data-api';
Restructuring of scripts for better use of ES6 concepts - Optimized use of common properties (, , ...) - Dispatching events in an attempt to de-globalize certain variables used in the past - Attempt to organize files in a more logical manner
2016-05-18 23:12:36 -04:00
Add loco scroll v2, update load module and app, update html, add nomodule polyfills script tags
2019-05-23 10:06:45 -04:00
const html = document.documentElement;
Update environment file
2019-07-18 11:21:17 -04:00
const body = document.body;
Update isDebug condition in environment.js Check if the attribute exists instead of a truthy value.
2020-11-16 10:02:28 -05:00
const isDebug = html.hasAttribute('data-debug');
Reorganization of globals - Simplified globals usage in App - Removed global App
2017-03-02 09:41:03 -05:00
Update environment file
2019-07-18 11:21:17 -04:00
export { APP_NAME, DATA_API_KEY, html, body, isDebug };
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 182ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API