lib/Psc/JS/Helper.php
public static function bootLoad(Array $requirements, $alias = array(), $jsCode) {
    return self::requirejs('boot', 'boot', sprintf(
      "boot.getLoader().onRequire([%s], function (%s) {\n    %s\n  });",
      self::buildRequirements($requirements),
      implode(', ', $alias),
      self::convertJSCode($jsCode)
    ));
  }
public static function bootLoad(Array $requirements, $alias = array(), $jsCode) {
    return self::requirejs('boot', 'boot', sprintf(
      "boot.getLoader().onRequire([%s], function (%s) {\n    %s\n  });",
      self::buildRequirements($requirements),
      implode(', ', $alias),
      self::convertJSCode($jsCode)
    ));
  }
public static function bootLoad ( Array $ requirements , $ alias = array ( ) , $ jsCode ) { return self :: requirejs ( 'boot' , 'boot' , sprintf ( "boot.getLoader().onRequire([%s], function (%s) {\n    %s\n  });" , self :: buildRequirements ( $ requirements ) , implode ( ', ' , $ alias ) , self :: convertJSCode ( $ jsCode ) ) ) ; }
This function loads inline script in an HTML-page

this is NON blocking way to load, because there the require is nested here
use it in inline scripts which are directly loaded from the HTML on the index page (and only there)

boot is required
boot should have .getLoader() to attach the requirements and loading callback to
@return string
This function loads inline script in an HTML - page