#138 new

doco Envjs.defaultEventBehaviors

Reported by nickg | March 27th, 2010 @ 12:38 PM

in src/platform/core/event.js we have a lonely

 * @param {Object} event                                                                                                                                    
Envjs.defaultEventBehaviors = {};

Needs a little doco. By grep I found it's used eventarget.js

Comments and changes to this ticket

  • Thatcher

    Thatcher March 28th, 2010 @ 09:46 AM

    This is unfinished work. Its basically the hook system for behaviors like
    form.submit and click for links. I've got the form submission code
    basically finished and the only reason I havent connected the moving parts
    is because I'm trying to figure out what Envjs should do when an events
    default behavior results in a new window object.

  • Steven Parkes

    Steven Parkes March 28th, 2010 @ 04:33 PM

    Should it not just create a new window?

  • Thatcher

    Thatcher March 29th, 2010 @ 03:26 PM

    probably should. But its not quite obvious. that's why I started focusing
    on a persistent implementation, primarily becuase my own use case required
    that following windows across what is basically a crawl/creep operation
    allow me to maintain some amount of state.

    I didn't want to break my own work and I didnt want to force my needs on
    anybody else. I think enabling cookies across window instances is enough
    for me to feel comfortable with a new window.


  • Steven Parkes

    Steven Parkes March 29th, 2010 @ 03:40 PM

    Heck or even the HTML5 storage APIs, right? I'm starting to look seriously at them ...

  • Thatcher

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