anutron / clientcide-dbug Goto Github PK
View Code? Open in Web Editor NEWA console wrapper
Home Page: http://www.clientcide.com/docs/Core/dbug
A console wrapper
Home Page: http://www.clientcide.com/docs/Core/dbug
Hello,
I'm wrapping dbug in a Log static Mootools class. The reason for this is that in some cases the logs should go to the backend as well as the console, for a complex intranet application.
Each method of dbug (and firebug console) is duplicated and "forwarded" like this to allow N arguments:
Log.info = function() {
dbug.info.apply(this, arguments);
}
It works fine in FireFox, but in IE9 it gives the ever annoying "Object doesn't support property or method 'apply'".
Just to make sure I looked up the specs for apply in IE, and it should be supported in near all versions.
While I know that IE doesn't support all the functionality of FireBug, at least it works with normal logging for simple debugging.
Any idea what's going on?
Cheers,
Tarraq
hi Anutron,
It would be nice if your clientcide dbug would automatically work in Opera as well, at least the dbug.log function which could use the opera.postError function when Opera is the browser in which one would want to test some stuff. (I alwyas use dbug.log but need to write custom tests whenever I want something in the opera console)
my appreciation for all your work ! (big fan)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.