Issue 18227: Added minified version of scopeleaks
authorIván Perdomo <ivan.perdomo@openbravo.com>
Thu, 25 Aug 2011 13:01:46 +0200
changeset 13597 5fce078ccc2e
parent 13596 a497dfa9fd85
child 13598 6b5c162cfb84
Issue 18227: Added minified version of scopeleaks
modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/js/scopeleaks.min.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.kernel/web/org.openbravo.client.kernel/js/scopeleaks.min.js	Thu Aug 25 13:01:46 2011 +0200
@@ -0,0 +1,6 @@
+/**
+* Modified version of scopeleaks by Rui Lopes 
+* (The MIT License)
+* Copyright © 2011 Rui Lopes
+*/
+(function(){var a=typeof global!="undefined"?global:typeof window!="undefined"?window:this,b=undefined,c=typeof a.opera=="object"&&a.opera.toString()=="[object Opera]",d=typeof a.console=="object"&&a.console.firebug!==undefined,e={snapshot:function(){var c={};for(var d in a)c[d]=!0;return b=b||c,c},leaks:function(b){var c=b||e.snapshot(),d=[];for(var f in a)!c[f]&&f.indexOf("isc_")===0&&a[f]!==null&&a[f]!==undefined&&d.push(f);return d}};return typeof window!="undefined"?window.scopeleaks=e:typeof exports!="undefined"&&(exports.leaks=e.leaks,exports.snapshot=e.snapshot),e.snapshot(),e})();