Sha256: f710b8e78812ff284eb75dc9e947b70e7882f657cb416cc7f781e675412a6a1c

Contents?: true

Size: 846 Bytes

Versions: 7

Compression:

Stored size: 846 Bytes

Contents

(function(){
  var _old_quit = this.quit;
  this.__defineGetter__("exit", function(){ _old_quit() });
  this.__defineGetter__("quit", function(){ _old_quit() });
  
  print("=================================================");
  print(" Rhino JavaScript Shell");
  print(" To exit type 'exit', 'quit', or 'quit()'.");
  print("=================================================");

  load("<%= shenandoah_root %>/lib/shenandoah/javascript/console/env.rhino.js");
  print(" - loaded env.js");

  window.location = "<%= shell_html_path %>";
  print(" - sample DOM loaded");

  load("<%= shenandoah_root %>/lib/shenandoah/javascript/common/jquery-1.3.2.js");
  print (" jQuery-1.3.2 loaded");
  // load(PLUGIN_PREFIX + "lib/jquery-1.2.6.js");
  // print(" - jQuery-1.2.6 loaded");

  print("=================================================");
})();

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
rsutphin-shenandoah-0.1.0 lib/shenandoah/javascript/console/shell.js.erb
rsutphin-shenandoah-0.1.1 lib/shenandoah/javascript/console/shell.js.erb
rsutphin-shenandoah-0.1.2 lib/shenandoah/javascript/console/shell.js.erb
shenandoah-0.1.0 lib/shenandoah/javascript/console/shell.js.erb
shenandoah-0.1.1 lib/shenandoah/javascript/console/shell.js.erb
shenandoah-0.1.2 lib/shenandoah/javascript/console/shell.js.erb
shenandoah-0.0.0 lib/shenandoah/javascript/console/shell.js.erb