Skip to content

Commit

Permalink
use new function calling conventions which are part of 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd authored and josephwilk committed Jun 3, 2010
1 parent 4e81b8a commit 56808a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cucumber/js_support/js_language.rb
Expand Up @@ -17,7 +17,7 @@ def initialize
end

def execute(js_function, args=[])
js_function.call(@world.scope, *args)
js_function.call(*args)
end

def method_missing(method_name, *args)
Expand Down

0 comments on commit 56808a4

Please sign in to comment.