X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Flibraries%2Ftests%2Fexample%2Fexample_2.js;fp=web%2Fmodules%2Fcontrib%2Flibraries%2Ftests%2Fexample%2Fexample_2.js;h=1b744bb166754c8320a19822c5b05c8ed3a9c7ca;hp=0000000000000000000000000000000000000000;hb=8acec36f19c470dfcda1ae2336826a782f41874c;hpb=e0411c4e83ba0d079034db83c3f7f55be24a0e35 diff --git a/web/modules/contrib/libraries/tests/example/example_2.js b/web/modules/contrib/libraries/tests/example/example_2.js new file mode 100644 index 000000000..1b744bb16 --- /dev/null +++ b/web/modules/contrib/libraries/tests/example/example_2.js @@ -0,0 +1,18 @@ + +/** + * @file + * Test JavaScript file for Libraries loading. + * + * Replace the text in the 'libraries-test-javascript' div. See README.txt for + * more information. + */ + +(function ($) { + +Drupal.behaviors.librariesTest = { + attach: function(context, settings) { + $('.libraries-test-javascript').text('If this text shows up, example_2.js was loaded successfully.') + } +}; + +})(jQuery);