Skip to content

Commit

Permalink
Localize the johnson/cli requires.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarnette committed Sep 19, 2009
1 parent 3f5616e commit c601585
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/johnson
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "readline"
require "johnson"
require "johnson/cli"

RUNTIME = js = Johnson::Runtime.new
RUNTIME.evaluate(Johnson::CLI::JS)
Expand Down
3 changes: 0 additions & 3 deletions lib/johnson.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
require "generator"

# the command-line option parser and support libs
require "johnson/cli"

# the native SpiderMonkey extension
require "johnson/spidermonkey"

Expand Down
1 change: 1 addition & 0 deletions lib/johnson/cli.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "johnson"
require "johnson/cli/options"

module Johnson #:nodoc:
Expand Down

0 comments on commit c601585

Please sign in to comment.