15 lines
436 B
JavaScript
15 lines
436 B
JavaScript
|
// Where you store your files
|
||
|
var project_folder = 'file:///c:/emacs/p/091105/EmacsW32/nxhtml/related/';
|
||
|
// Browser environment wrapper over Rhino
|
||
|
load(project_folder + 'env.js');
|
||
|
// For DOM constructing
|
||
|
window.location = project_folder + 'blank.html';
|
||
|
var my_script = arguments[0];
|
||
|
// If DOM ready
|
||
|
window.onload = function(){
|
||
|
// Avoid recursive inclusion
|
||
|
if ("rhino_flymake.js" != my_script) {
|
||
|
load(my_script);
|
||
|
}
|
||
|
}
|