Sha256: 2db5e3a15109c41dd5b1bc09d870ce37283395fc96a95b58563762a75bcc64b0

Contents?: true

Size: 844 Bytes

Versions: 2

Compression:

Stored size: 844 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

2 entries across 2 versions & 1 rubygems

Version Path
shenandoah-0.2.0 lib/shenandoah/javascript/console/shell.js.erb
shenandoah-0.1.3 lib/shenandoah/javascript/console/shell.js.erb