You are here

function _labjs_prepare_required_js in LABjs 6

Returns the required code to be inserted into page header.

2 calls to _labjs_prepare_required_js()
labjs_advagg_js_builder in includes/labjs.advagg.inc
Build and theme JS output.
labjs_preprocess_page in ./labjs.module
Implements hook_preprocess_page().

File

./labjs.module, line 335
LABjs module

Code

function _labjs_prepare_required_js() {
  return '<script type="text/javascript" src="' . labjs_build_uri(_labjs_get_path()) . '"></script>' . "\n" . '<script type="text/javascript">' . "\n" . '<!--//--><![CDATA[//><!--' . "\n" . "var \$L = \$LAB.setGlobalDefaults({AlwaysPreserveOrder:true});\n" . "//--><!]]>\n" . "</script>\n";
}