lib/firebase/fquery.rb in motion-firebase-3.1.3 vs lib/firebase/fquery.rb in motion-firebase-3.1.4
- old
+ new
@@ -51,12 +51,9 @@
return observeSingleEventOfType(event_type, andPreviousSiblingNameWithBlock:and_then)
end
end
end
- def self.off(handle=nil)
- Firebase.new.off(handle)
- end
def off(handle=nil)
if handle
removeObserverWithHandle(handle)
else
removeAllObservers