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);
|
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);
|
2017-10-11 10:49:40 -04:00
|
|
|
const $barba = $('#js-barba-wrapper');
|
2016-12-18 15:34:38 -05:00
|
|
|
|
2017-03-02 09:41:03 -05:00
|
|
|
const isDebug = !!$html.data('debug');
|
|
|
|
|
|
2017-10-16 11:11:01 -04:00
|
|
|
export { APP_NAME, DATA_API_KEY, $document, $window, $html, $body, isDebug, $barba };
|