lib/volt/page/tasks.rb in volt-0.7.10 vs lib/volt/page/tasks.rb in volt-0.7.12
- old
+ new
@@ -55,15 +55,13 @@
# Called when the backend sends a notification to change the results of
# a query.
def notify_query(method_name, collection, query, *args)
query_obj = Persistors::ArrayStore.query_pool.lookup(collection, query)
- # puts "FOUND QUERY: #{collection.inspect} - #{query.inspect} - #{query_obj.inspect} - #{method_name} - #{query_obj.instance_variable_get('@stores').inspect}"
query_obj.send(method_name, *args)
end
def reload
- puts "RELOAD"
# Stash the current page value
value = JSON.dump($page.page.cur.to_h.reject {|k,v| v.reactive? })
# If this browser supports session storage, store the page, so it will
# be in the same state when we reload.