Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Julian
    @pYr0x
    In php something like this is possible
    ArrayIterator implements ArrayAccess , SeekableIterator , Countable , Serializable {
    Justin Meyer
    @justinbmeyer
    I'm going to be talking about events soon.
    Here's what I'll be working from: http://jsbin.com/qefitakuwa/1
    George Heeres
    @gheeres
    useCapture became optional only in more recent versions of the major browsers; for example, it was not optional prior to Firefox 6. You should provide this parameter for broadest compatibility.
    Mark Stahl
    @mjstahl
    Thanks for the information!
    Mick McGrath
    @mickmcgrath13
    jquery allows aliasing
    ..actually, this is now a question.. Does this work:
    $el.bind("click.mySomething",func)
    and then
    $el.unbind("click.mySomething")
    Event namespacing
    Michał Wołczecki-Klim
    @michalklim
    What is actual difference between jquery $el.bind() and $el.on() method and why you are using $el.bind()?
    Michał Wołczecki-Klim
    @michalklim
    Does it mean the most crossbrowser way of catching key events is 'keyup'?
    Michał Wołczecki-Klim
    @michalklim
    Thanks for great lesson! See you next week
    Julian
    @pYr0x
    Can someone answer my question ?
    Justin Meyer
    @justinbmeyer
    I did
    in the video
    at the end
    Julian
    @pYr0x
    ohh.. ok... i see
    but with extending the prototypes i will lose the proto chain
    also i cant check if is instance of
    too
    i read somethink that with object.create we can inheritance from multiple objects
    or do i missunderstand something
    Matthew Phillips
    @matthewp
    You don't have multiple inheritance in JavaScript
    But you can mixin behaviors with $.extend
    Julian
    @pYr0x
    also with object.create there is no way of multiple inhertitance
    ?
    Matthew Phillips
    @matthewp
    No
    Julian
    @pYr0x
    also in es6?
    Matthew Phillips
    @matthewp
    Nope, just a single extend as far as I'm aware.
    Julian
    @pYr0x
    thats a big drawback
    is think... often i need a multiple inheritance
    Matthew Phillips
    @matthewp
    Maybe coming from php, but I don't miss it in JavaScript personally
    Like I said mixins give you the same thing just not with instanceof
    Julian
    @pYr0x
    and how can i check if the object is an instance of an other?
    without instanceof
    Matthew Phillips
    @matthewp
    Check if it looks like that object
    Like a NodeList is not an Array, but it has a length property so that's good enough for the array methods.
    Justin Meyer
    @justinbmeyer
    Hello, we are going to get started soon
    Alexis Abril
    @alexisabril
    and we’re live!
    James Atherton
    @James0x57
    This message was deleted
    metaKey on windows is the windows key
    a live jsbin stream of justin’s code
    James Atherton
    @James0x57
    I can see it now, deleted the message, sorry - might have just been on my end
    Cory Robinson
    @crobinson42
    Can anyone explain why this returns an empty object "JSON.stringify(navigator)”? I don’t have any errors showing just “{}"
    Justin Meyer
    @justinbmeyer
    Why would you do that?
    @crobinson42