kevinbarabash / live-proxy

Live reloading for JavaScript + sand boxing.
http://kevinbarabash.github.io/live-proxy/
3 stars 0 forks source link

only call loopProtect.reset() at the start of entry points #29

Closed kevinbarabash closed 8 years ago

kevinbarabash commented 8 years ago

Currently it's being called at the start of all functions.

__env__.sword = (_ = function sword(x, y, size, angle, depth, col) {
    loopChecker.reset();
    if (depth <= 0) {
        return;
    }
    ...
}
kevinbarabash commented 8 years ago

fixed in https://github.com/kevinbarabash/live-proxy/commit/f71271453a77134281b3a42034d4852670237345