Re: [Moo] Right use of console.log() in IE

2011-11-04 Thread Daniel Antonio Peraza Cedrez
So dbug does this for me? I vote to include it in Mootools Core in future releases…. El 05/11/2011, a las 00:23, Aaron Newton escribió: > dbug rules > > On Fri, Nov 4, 2011 at 9:36 PM, Sanford Whiteman wrote: > > What I'd like to know is if MooTools doesn't define an empty > > interfa

Re: [Moo] Right use of console.log() in IE

2011-11-04 Thread Aaron Newton
dbug rules On Fri, Nov 4, 2011 at 9:36 PM, Sanford Whiteman wrote: > > What I'd like to know is if MooTools doesn't define an empty > > interface (i.e. defines a class with lambda functions as methods) > > when the javascript console isn't available, or if it does, what is > > the rig

Re: [Moo] Right use of console.log() in IE

2011-11-04 Thread Sanford Whiteman
> What I'd like to know is if MooTools doesn't define an empty > interface (i.e. defines a class with lambda functions as methods) > when the javascript console isn't available, or if it does, what is > the right way to use it? Not built-in, but Aaron has http://mootools.net/forge/p/db

Re: [Moo] Re: Question about error...

2011-11-04 Thread Jonathan Bomgardner
Thanks... I actually just figured that out in /8... was absolutely driving me insane but then I read the MDC docs on the function object and the solution just kinda clicked in... anyway, thanks for looking at it! Jon

Re: [Moo] Re: Question about error...

2011-11-04 Thread Sanford Whiteman
> (+ fix scope of debug -- that's for you) Ignore this, sorry! Anyway, fix in /7.

Re: [Moo] Re: Question about error...

2011-11-04 Thread Sanford Whiteman
(+ fix scope of debug -- that's for you)

Re: [Moo] Re: Question about error...

2011-11-04 Thread Sanford Whiteman
http://jsfiddle.net/sanford/9fKyu/7/

[Moo] Right use of console.log() in IE

2011-11-04 Thread Daniel Antonio Peraza Cedrez
Hi, I've been noticing that IE complains a lot about the console.log() function. It seems something weird: in IE 8, when the Developer Tools are visible, it works OK, but when they are hidden, it throws an error. What I'd like to know is if MooTools doesn't define an empty interface (i.e. defin

[Moo] Re: Question about error...

2011-11-04 Thread Jonathan Bomgardner
Made a small change to show that the "aliased" object works before being wrapped at http://jsfiddle.net/jonlb/9fKyu/2/ Jon

[Moo] Question about error...

2011-11-04 Thread Jonathan Bomgardner
Hi, I'm trying to wrap the console object so it can be toggled depending on a variable. However, whenever I call any of the methods I get an illegal Invocation. I've posted a jsfiddle at http://jsfiddle.net/jonlb/9fKyu/ Can anyone tell me what I'm doing wrong here? Thanks, Jon B.