diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-22 23:36:38 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-22 23:36:38 +0100 |
commit | b8b6fd96e5d1c7e803550dd86d3c4ed577bba9d3 (patch) | |
tree | 64b5e1367d0d01efb0687ef7c27f27de02f866bb /sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js | |
parent | eb273b377f00fabe7b90791333f8e915a201c69a (diff) | |
download | brdo-b8b6fd96e5d1c7e803550dd86d3c4ed577bba9d3.tar.gz brdo-b8b6fd96e5d1c7e803550dd86d3c4ed577bba9d3.tar.bz2 |
Add theme for MRP site.
Diffstat (limited to 'sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js')
-rw-r--r-- | sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js b/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js new file mode 100644 index 000000000..f4ab589ca --- /dev/null +++ b/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js @@ -0,0 +1,26 @@ +/** + * @file + * A JavaScript file for the theme. + * + * In order for this JavaScript to be loaded on pages, see the instructions in + * the README.txt next to this file. + */ + +// JavaScript should be made compatible with libraries other than jQuery by +// wrapping it with an "anonymous closure". See: +// - https://drupal.org/node/1446420 +// - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth +(function ($, Drupal, window, document, undefined) { + + +// To understand behaviors, see https://drupal.org/node/756722#behaviors +Drupal.behaviors.my_custom_behavior = { + attach: function(context, settings) { + + // Place your code here. + + } +}; + + +})(jQuery, Drupal, this, this.document); |