Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Julian
    @pYr0x
    Okay
    Daniel Hug
    @Daniel-Hug
    Is there a training session today on DocumentJS?
    Justin Meyer
    @justinbmeyer
    Hey, sorry, it's going to be next week!
    sorry, I got totally sidetracked
    with something else
    I'm going to update the calendar / schedule and everything else
    sorry about this
    Calendar updated
    there's the g+ page for it
    Justin Meyer
    @justinbmeyer
    ok ... training is on today!
    Jan Jorgensen
    @ramblinjan
    documentjs.com
    Jan Jorgensen
    @ramblinjan
    Cory Robinson
    @crobinson42
    @justinbmeyer silly but legit Q
    var primary = {};
    primary = window;
    primary.listeners = {};
    console.log(window) and there is no ‘listeners’ property BUT you can still access window.listeners // {} empty object
    Alexis Abril
    @alexisabril
    that code adds a listeners property for me in chrome
    I assume your question was "why is listeners not appearing in the console.log?" - for clarification
    Cory Robinson
    @crobinson42
    huh?
    Alexis Abril
    @alexisabril
    heh, what was your question :)
    Cory Robinson
    @crobinson42
    run this
    Object.keys(window).forEach(function(i){ if (i == 'listeners' ){return 'bam! its there!'} });
    Alexis Abril
    @alexisabril
    what would you expect out of that line?
    I'm not sure if a forEach with a return function will have any noticeable effect
    if you change "return 'bam'..." to console.log('here');, the console finds the correct property
    err, the console shows rather
    Cory Robinson
    @crobinson42
    console.log instead of return.. damnit i’m going nuts! it’s Friday and I’ve been at a hotfix for prod since yesterday at 2pm!
    lmao
    Alexis Abril
    @alexisabril
    no worries :)
    Cory Robinson
    @crobinson42
    happy friday man.. thx for a shoulder to lean on :fire:
    Alexis Abril
    @alexisabril
    np, enjoy the weekend!
    Justin Meyer
    @justinbmeyer
    we will be starting in 2 min
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    link
    ??
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    thanks
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    how the viewModel fires saved event?
    Matthew Phillips
    @matthewp
    are you asking if it fires a saved event?
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    how it does it? I dont see a saved property?
    In the events object of the component I saw "{viewModel} saved"? no?
    Matthew Phillips
    @matthewp
    can.trigger(this, "saved")
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    ah I was late that's why I missed that thanks
    I see now we have viewModel.extend ok sorry for the disturb :)
    Mohamed Cherif Bouchelaghem
    @cherifGsoul
    what??? localstorge stuff should be documented !!
    this is can-connect, not can.Model