1. 8.3.x core/includes/common.inc JS_LIBRARY
  2. 8.0.x core/includes/common.inc JS_LIBRARY
  3. 8.1.x core/includes/common.inc JS_LIBRARY
  4. 8.2.x core/includes/common.inc JS_LIBRARY
  5. 8.4.x core/includes/common.inc JS_LIBRARY
  6. 7.x includes/common.inc JS_LIBRARY

The default group for JavaScript and jQuery libraries added to the page.

4 uses of JS_LIBRARY
drupal_add_js in includes/common.inc
Adds a JavaScript file, setting, or inline code to the page.
drupal_add_library in includes/common.inc
Adds multiple JavaScript or CSS files at the same time.
JavaScriptTestCase::testRenderDifferentWeight in modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
system_library in modules/system/system.module
Implements hook_library().

File

includes/common.inc, line 75
Common functions that many Drupal modules will need to reference.

Code

define('JS_LIBRARY', -100)