liquid_feedback_frontend

annotate static/js/jsprotect.js @ 1068:04809990c2e7

Show development settings only to developers
author bsw
date Thu Jul 17 23:28:39 2014 +0200 (2014-07-17)
parents b865f87ea810
children
rev   line source
jbe@945 1 function jsProtect(f) {
jbe@945 2 if (!jsFail) try {
jbe@945 3 return f();
jbe@945 4 } catch (e) {
jbe@945 5 jsFail = true;
jbe@945 6 }
jbe@945 7 }

Impressum / About Us