From 4f3ba9976a3978d830873cf3bac9639741cd3051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ctibor=20Bran=C4=8D=C3=ADk?= Date: Tue, 22 Mar 2016 20:13:56 +0100 Subject: Removed sites dirs from repo --- .../themes/mrp/js/README.txt | 14 ------------ .../themes/mrp/js/script.js | 26 ---------------------- 2 files changed, 40 deletions(-) delete mode 100644 sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/README.txt delete mode 100644 sites/brdo.brontosaurus.cz.mrp/themes/mrp/js/script.js (limited to 'sites/brdo.brontosaurus.cz.mrp/themes/mrp/js') 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); -- cgit v1.2.3