example_3.js 386 B

123456789101112131415161718
  1. /**
  2. * @file
  3. * Test JavaScript file for Libraries loading.
  4. *
  5. * Replace the text in the 'libraries-test-javascript' div. See README.txt for
  6. * more information.
  7. */
  8. (function ($) {
  9. Drupal.behaviors.librariesTest = {
  10. attach: function(context, settings) {
  11. $('.libraries-test-javascript').text('If this text shows up, example_3.js was loaded successfully.')
  12. }
  13. };
  14. })(jQuery);