diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-22 20:13:56 +0100 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2016-03-22 20:13:56 +0100 |
commit | 4f3ba9976a3978d830873cf3bac9639741cd3051 (patch) | |
tree | 6c9883c7967009aff0fbdc8c7bacc623fb68bf6e /sites/brdo.brontosaurus.cz.mrp/themes/mrp/js | |
parent | 159e19c44af1adbac3557449b57fbadf431487a2 (diff) | |
download | brdo-4f3ba9976a3978d830873cf3bac9639741cd3051.tar.gz brdo-4f3ba9976a3978d830873cf3bac9639741cd3051.tar.bz2 |
Removed sites dirs from repo
Diffstat (limited to 'sites/brdo.brontosaurus.cz.mrp/themes/mrp/js')
-rw-r--r-- | sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt | 14 | ||||
-rw-r--r-- | sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js | 26 |
2 files changed, 0 insertions, 40 deletions
diff --git a/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt b/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt deleted file mode 100644 index da94e902a..000000000 --- a/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt +++ /dev/null @@ -1,14 +0,0 @@ -Your theme can add JavaScript files in two ways: - -1. To add a JavaScript file to all pages on your website, edit your sub-theme's - .info file and add a line like this one: - - scripts[] = js/my-jquery-script.js - -2. To add a JavaScript file depending on a certain condition, you can add it - using some PHP code in a preprocess function: - - drupal_add_js(drupal_get_path('theme', 'THEME_NAME') . '/js/my-jquery-script.js', array('group' => JS_THEME)); - - For the full documentation of drupal_add_js(), see: - http://api.drupal.org/api/function/drupal_add_js diff --git a/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js b/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js deleted file mode 100644 index f4ab589ca..000000000 --- a/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @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); |