Initial commit after running Zurb Foundation subtheme from STARTER script

This commit is contained in:
benjamin melançon 2024-04-20 14:40:26 -04:00
commit 61ce6fca2d
49 changed files with 2166 additions and 0 deletions

17
js/foundation_init.js Normal file
View file

@ -0,0 +1,17 @@
/**
* @file
* Initializes foundation's JavaScript.
*
*/
(function ($, Drupal) {
/**
* Initializes foundation's JavaScript for new content added to the page.
*/
Drupal.behaviors.foundationInit = {
attach: function (context, settings) {
$(context).foundation();
}
};
})(jQuery, Drupal);

17
js/peceful.js Normal file
View file

@ -0,0 +1,17 @@
/**
* @file
* Placeholder file for custom sub-theme behaviors.
*
*/
(function ($, Drupal) {
/**
* Use this behavior as a template for custom Javascript.
*/
Drupal.behaviors.exampleBehavior = {
attach: function (context, settings) {
//alert("I'm alive!");
}
};
})(jQuery, Drupal);