1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Cleanup whitespace

This commit is contained in:
Joshua Peek 2012-05-20 12:17:18 -05:00
parent e707fe385b
commit 22a3e6def1
4 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ module ExecJS
class Context < Runtime::Context
def initialize(runtime, source = "")
source = encode(source)
@runtime = Johnson::Runtime.new
@runtime.evaluate(source)
end

View file

@ -94,7 +94,7 @@ module ExecJS
def name
"therubyracer (V8)"
end
def available?
require "v8"
true

View file

@ -78,7 +78,7 @@ module ExecJS
def name
"therubyrhino (Rhino)"
end
def available?
require "rhino"
true

View file

@ -12,7 +12,7 @@ module ExecJS
def exec(source, options = {})
raise NotImplementedError
end
def eval(source, options = {})
raise NotImplementedError
end
@ -25,7 +25,7 @@ module ExecJS
def name
raise NotImplementedError
end
def context_class
self.class::Context
end