// The functions for runAsync are set up in the bootstrap script so they
// can be overriden in the same way as other bootstrap code is, however
// they will be called from, and expected to run in the scope of the GWT code
// (usually an iframe) so, here we set up those pointers.
out.print("function __gwtStartLoadingFragment(frag) {");
out.newlineOpt();
String fragDir = getFragmentSubdir(logger, context) + '/';
out.print("var fragFile = '" + fragDir + "' + $strongName + '/' + frag + '" + FRAGMENT_EXTENSION + "';");
out.newlineOpt();
out.print("return __gwtModuleFunction.__startLoadingFragment(fragFile);");
out.newlineOpt();