mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
remove old evaluate methods
This commit is contained in:
parent
fd17e8a872
commit
e0d4088eb3
2 changed files with 2 additions and 13 deletions
|
@ -3,6 +3,7 @@
|
|||
## Edge
|
||||
|
||||
* force UTf-8 encoding on strings returned from javascript in ruby 1.9
|
||||
* remove deprecated evaluate() methods
|
||||
|
||||
## 0.8.1 - 2011/03/07
|
||||
|
||||
|
|
|
@ -39,11 +39,7 @@ module V8
|
|||
raise err if err
|
||||
return value
|
||||
end
|
||||
|
||||
def evaluate(*args)
|
||||
self.eval(*args)
|
||||
end
|
||||
|
||||
|
||||
def load(filename)
|
||||
File.open(filename) do |file|
|
||||
evaluate file, filename, 1
|
||||
|
@ -57,14 +53,6 @@ module V8
|
|||
def []=(key, value)
|
||||
@scope[key] = value
|
||||
end
|
||||
|
||||
def self.eval(source)
|
||||
new.eval(source)
|
||||
end
|
||||
|
||||
def V8.eval(*args)
|
||||
V8::Context.eval(*args)
|
||||
end
|
||||
end
|
||||
|
||||
module C
|
||||
|
|
Loading…
Reference in a new issue