From 80d9dc7c77acc90a31e4d3659527f15ecac373b4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 28 Mar 2018 01:25:22 -0700 Subject: [PATCH] Remove usage of deleted function --- static/js/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/static/js/index.js b/static/js/index.js index 7ed9244..cf988d0 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -784,10 +784,6 @@ function saveFramerate() { // unfortunately, objects with function instances (classes) are stripped of their function instances when converted to a raw object // so we cannot forget to revive the object after we load it. function saveHosts() { - for(var hostUID in hosts) { - // slim the object down to only store the necessary bytes, because we have limited storage - hosts[hostUID]._prepareForStorage(); - } storeData('hosts', hosts, null); }