From 44e4ab90eb5079450c6bf003044f3234ee61f46d Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 7 Apr 2011 09:05:31 -0500 Subject: [PATCH] fix Context#load() after removing deprecated evaluate() method. --- lib/v8/context.rb | 2 +- spec/redjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/v8/context.rb b/lib/v8/context.rb index 5bc1402..cba9fc5 100644 --- a/lib/v8/context.rb +++ b/lib/v8/context.rb @@ -44,7 +44,7 @@ module V8 def load(filename) File.open(filename) do |file| - evaluate file, filename, 1 + self.eval file, filename, 1 end end diff --git a/spec/redjs b/spec/redjs index dd93fd3..8ea1e0d 160000 --- a/spec/redjs +++ b/spec/redjs @@ -1 +1 @@ -Subproject commit dd93fd3e6a49d194a7788a143a336d2e94dd9532 +Subproject commit 8ea1e0d6b9e0a77b026b1b5d80a39c8eff486b92