projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4b36af2b8150306dba11fc3efcc4aab1c80fc46d
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
javascript.twig
1
/**
2
* @file
3
* {{ name }} behaviors.
4
*/
5
6
(function ($, Drupal) {
7
8
'use strict';
9
10
/**
11
* Behavior description.
12
*/
13
Drupal.behaviors.{{ machine_name|camelize(false) }} = {
14
attach: function (context, settings) {
15
16
console.log('It works!');
17
18
}
19
};
20
21
} (jQuery, Drupal));