- 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
7 lines
179 B
JavaScript
7 lines
179 B
JavaScript
const $document = $(document);
|
|
const $window = $(window);
|
|
const $html = $(document.documentElement);
|
|
const $body = $(document.body);
|
|
|
|
export { $document, $window, $html, $body };
|