Move all files to 2017/
This commit is contained in:
parent
ac7370f67f
commit
2875863330
15717 changed files with 0 additions and 0 deletions
17
2017/web/core/misc/drupal.init.es6.js
Normal file
17
2017/web/core/misc/drupal.init.es6.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Allow other JavaScript libraries to use $.
|
||||
if (window.jQuery) {
|
||||
jQuery.noConflict();
|
||||
}
|
||||
|
||||
// Class indicating that JS is enabled; used for styling purpose.
|
||||
document.documentElement.className += ' js';
|
||||
|
||||
// JavaScript should be made compatible with libraries other than jQuery by
|
||||
// wrapping it in an anonymous closure.
|
||||
|
||||
(function(domready, Drupal, drupalSettings) {
|
||||
// Attach all behaviors.
|
||||
domready(() => {
|
||||
Drupal.attachBehaviors(document, drupalSettings);
|
||||
});
|
||||
})(domready, Drupal, window.drupalSettings);
|
Reference in a new issue