Update environment file
This commit is contained in:
@@ -1,13 +1,8 @@
|
|||||||
const APP_NAME = 'Boilerplate';
|
const APP_NAME = 'Wirewerks';
|
||||||
const DATA_API_KEY = '.data-api';
|
const DATA_API_KEY = '.data-api';
|
||||||
|
|
||||||
const $document = $(document);
|
|
||||||
const $window = $(window);
|
|
||||||
const html = document.documentElement;
|
const html = document.documentElement;
|
||||||
const $html = $(document.documentElement).removeClass('has-no-js').addClass('has-js');
|
const body = document.body;
|
||||||
const $body = $(document.body);
|
|
||||||
const $pjaxWrapper = $('#js-pjax-wrapper');
|
|
||||||
|
|
||||||
const isDebug = !!$html.data('debug');
|
const isDebug = !!$html.data('debug');
|
||||||
|
|
||||||
export { APP_NAME, DATA_API_KEY, $document, $window, html, $html, $body, isDebug, $pjaxWrapper };
|
export { APP_NAME, DATA_API_KEY, html, body, isDebug };
|
||||||
|
|||||||
Reference in New Issue
Block a user