summaryrefslogtreecommitdiff
path: root/sites/brdo.brontosaurus.cz.mrp/themes/mrp/js
diff options
context:
space:
mode:
Diffstat (limited to 'sites/brdo.brontosaurus.cz.mrp/themes/mrp/js')
-rw-r--r--sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt14
-rw-r--r--sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js26
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);