lib/opal-jquery/event.rb in opal-jquery-0.0.1 vs lib/opal-jquery/event.rb in opal-jquery-0.0.2
- old
+ new
@@ -22,11 +22,11 @@
def target
%x{
if (#{self}._opalTarget) {
return #{self}._opalTarget;
}
-
+
return #{self}._opalTarget = $(#{self}.target);
}
end
def type
@@ -34,6 +34,7 @@
end
def which
`#{self}.which`
end
-end
\ No newline at end of file
+end
+