constant JS_LIBRARY
The default group for JavaScript and jQuery libraries added to the page.
4 uses of JS_LIBRARY
- drupal_add_js in drupal-7.x/
includes/ common.inc - Adds a JavaScript file, setting, or inline code to the page.
- drupal_add_library in drupal-7.x/
includes/ common.inc - Adds multiple JavaScript or CSS files at the same time.
- JavaScriptTestCase::testRenderDifferentWeight in drupal-7.x/
modules/ simpletest/ tests/ common.test - Test rendering the JavaScript with a file's weight above jQuery's.
- system_library in drupal-7.x/
modules/ system/ system.module - Implements hook_library().
File
- drupal-7.x/
includes/ common.inc, line 75 - Common functions that many Drupal modules will need to reference.
Code
define('JS_LIBRARY', -100)