mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-05-16 02:53:09 +00:00
1 line
No EOL
337 B
JavaScript
1 line
No EOL
337 B
JavaScript
(function(a,b,c){a.diagnostics=a.addWireTap(function(a,c){var d=b.extend(c,{data:a});if(!JSON)throw"This browser or environment does not provide JSON support";try{console.log(JSON.stringify(d))}catch(e){try{d.data="ERROR: "+e.message,console.log(JSON.stringify(d))}catch(f){console.log("Unable to parse data to JSON: "+e)}}})})(postal,_) |