root / htmltest / sites / all / modules / libraries / tests / libraries / example / example_3.js @ 3753f249
1 |
|
---|---|
2 |
/**
|
3 |
* @file
|
4 |
* Test JavaScript file for Libraries loading.
|
5 |
*
|
6 |
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
|
7 |
* more information.
|
8 |
*/
|
9 |
|
10 |
(function ($) { |
11 |
|
12 |
Drupal.behaviors.librariesTest = { |
13 |
attach: function(context, settings) { |
14 |
$('.libraries-test-module-js').text('If this text shows up, example_3.js was loaded successfully.') |
15 |
} |
16 |
}; |
17 |
|
18 |
})(jQuery); |