rbjs 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rbjs.rb +1 -1
- data/lib/rbjs/version.rb +1 -1
- metadata +1 -1
data/lib/rbjs.rb
CHANGED
@@ -54,7 +54,7 @@ module Rbjs
|
|
54
54
|
attr_accessor :child_statement
|
55
55
|
attr_accessor :is_argument
|
56
56
|
|
57
|
-
def initialize name, view_context, *args, &block
|
57
|
+
def initialize name, view_context = nil, *args, &block
|
58
58
|
@name = name.to_s.gsub '!', '()'
|
59
59
|
@_view_context = view_context
|
60
60
|
args << block if block_given?
|
data/lib/rbjs/version.rb
CHANGED