lib/atome/kernel/universe.rb in atome-0.5.6.5.4 vs lib/atome/kernel/universe.rb in atome-0.5.6.5.6

- old
+ new

@@ -241,12 +241,10 @@ end def historicize(id, operation, element, params) if @allow_history && @database_ready - # sync A.sync({ action: :historicize, data: { table: :user } }) do |_db_state| - # puts "===> #{_db_state}" end operation_timing = Time.now.strftime("%Y%m%d%H%M%S%3N") + @increment.to_s @increment += 1 @increment = @increment % 100 JS.global[:localStorage].setItem(operation_timing, "{ #{id} => { #{operation} => { #{element} => #{params} } }, sync: false }")