Debounce autobake in the web app.

Added debounce with guidance from the underscore.js implementation:
e944e0275a/underscore.js (L880)
This commit is contained in:
toby 2017-04-23 13:41:28 -04:00
parent 21c0fed833
commit 50784f2600
2 changed files with 29 additions and 0 deletions

View file

@ -36,6 +36,8 @@ var App = function(categories, operations, defaultFavourites, defaultOptions) {
this.ingId = 0;
window.chef = this.chef;
this.autoBake = Utils.debounce(this.autoBake, 300);
};