Make your own performance budget!
something buggy when value change~
and I re-write js part with prototype,
I'm looking to have the HTML in there for each "template" so that I could save a permanent HTML page of perf budgets to ref later, but when I edit the HTML directly (as opposed to the button) and copy the .b element I don't think the JS likes that. It's adding all of the inputs together instead of for each template. The actual and budget values of the different templates get messed up with each other. Will have to check out the JS to see what I can tweak to do that.
Ah, I think I found that it only happens on load because of the budgetOverUnder($('.b')); call on load. That call isn't scoped on load any longer. Otherwise you have everything else nice and scoped!
Yep, that was it! though more than just the budgetOverUnder. I noticed you had it for calculateActualSize and setCatWidths as well. Fixed
Need to know how to enable it? Go here.