liquid_feedback_frontend

view static/js/jsprotect.js @ 946:c328da62f45c

Robustify voting JavaScript: Calculate scoring after each moving
author jbe
date Thu Nov 08 15:16:17 2012 +0100 (2012-11-08)
parents b865f87ea810
children
line source
1 function jsProtect(f) {
2 if (!jsFail) try {
3 return f();
4 } catch (e) {
5 jsFail = true;
6 }
7 }

Impressum / About Us