#103 ✓resolved
nickg

stray debug console.log in code (src/eventtarget.js)

Reported by nickg | March 14th, 2010 @ 06:54 PM | in 1.2.x

Looks like the trunk has an unintended debug console.log in place. All others in the source are commented out.

Around line 132 in src/eventtarget.js

        if(!event._preventDefault){
            //At this point I'm guessing that just HTMLEvents are concerned
            //with default behavior being executed in a browser but I could be
            //wrong as usual.  The goal is much more to filter at this point
            //what events have no need to be handled
            console.log('triggering default behavior for %s', event.type); // <---- HERE
            if(event.type in Envjs.defaultEventBehaviors){
                Envjs.defaultEventBehaviors[event.type](event);
            }

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

a javascript browser environment

People watching this ticket

Pages