backdrop_add_js in core/includes/common.inc
Adds a JavaScript file, setting, or inline code to the page.
backdrop_add_library in core/includes/common.inc
Adds multiple JavaScript or CSS files at the same time.
ckeditor_library_info in core/modules/ckeditor/ckeditor.module
Implements hook_library_info().
CommonJavaScriptTestCase::testRenderDifferentWeight in core/modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
options_library_info in core/modules/field/modules/options/options.module
Implements hook_library_info().
system_library_info in core/modules/system/system.module
Implements hook_library_info().