2017-05-30 12:16:13 -04:00
|
|
|
const APP_NAME = 'Boilerplate';
|
2016-12-18 15:34:38 -05:00
|
|
|
const DATA_API_KEY = '.data-api';
|
2016-05-18 23:12:36 -04:00
|
|
|
|
2016-12-18 15:34:38 -05:00
|
|
|
const $document = $(document);
|
|
|
|
|
const $window = $(window);
|
2019-05-23 10:06:45 -04:00
|
|
|
const html = document.documentElement;
|
2016-12-18 14:08:58 -05:00
|
|
|
const $html = $(document.documentElement).removeClass('has-no-js').addClass('has-js');
|
2016-12-18 15:34:38 -05:00
|
|
|
const $body = $(document.body);
|
2018-02-01 16:14:35 -05:00
|
|
|
const $pjaxWrapper = $('#js-pjax-wrapper');
|
2016-12-18 15:34:38 -05:00
|
|
|
|
2017-03-02 09:41:03 -05:00
|
|
|
const isDebug = !!$html.data('debug');
|
|
|
|
|
|
2019-05-23 10:06:45 -04:00
|
|
|
export { APP_NAME, DATA_API_KEY, $document, $window, html, $html, $body, isDebug, $pjaxWrapper };
|