Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 02 2020 16:06
    johnpane commented #53
  • Dec 21 2019 01:41
    esietedali closed #55
  • Dec 21 2019 01:41
    esietedali opened #55
  • Jun 22 2018 12:28
    lmckeen opened #54
  • Apr 27 2018 15:11
    Trucido commented #53
  • Apr 27 2018 15:11
    Trucido commented #53
  • Apr 09 2018 00:06
    Trucido edited #53
  • Apr 09 2018 00:06
    Trucido opened #53
  • Mar 11 2018 06:32
    inderpreetsingh commented #52
  • Mar 11 2018 03:27
    kee23 closed #52
  • Feb 07 2018 13:47
    MarshallOfSound commented #52
  • Feb 07 2018 13:44
    inderpreetsingh commented #52
  • Feb 04 2018 14:33
    kee23 opened #52
  • Jan 31 2018 21:26
    jostrander commented #51
  • Jan 31 2018 21:26
    jostrander closed #50
  • Jan 31 2018 21:26
    jostrander commented #50
  • Dec 30 2017 21:25
    ulilicht opened #51
  • Dec 16 2017 13:29

    MarshallOfSound on v1.1.0

    (compare)

  • Dec 16 2017 13:29

    MarshallOfSound on master

    1.1.0 (compare)

  • Dec 16 2017 13:27
    MarshallOfSound closed #8
Jesse Ostrander
@jostrander
you on?
Samuel Attard
@MarshallOfSound
yup
Jesse Ostrander
@jostrander
  serviceUp(service) {
    // do nothing
    console.log('service up', this.normalizeService(service)); // eslint-disable-line no-console
  }
  normalizeService(service) {
    const normalized = {};
    // ... other code
    return normalized;
  }
inside of a class
this.normalizeService is undefined
Samuel Attard
@MarshallOfSound
Where are you assigning serviceUp
Jesse Ostrander
@jostrander
oh.
yep
thanks
Samuel Attard
@MarshallOfSound
You got it?
Jesse Ostrander
@jostrander
yeah needed .bind(this)
Samuel Attard
@MarshallOfSound
Yup
:)
Jesse Ostrander
@jostrander
alright one more for you
how do I assign the value of a function to a property
instead of assigning the function itself to the property
tried wrapping with ()
Samuel Attard
@MarshallOfSound
() => functionCall()
Jesse Ostrander
@jostrander
yep thanks
different libs
normalized result
(almost)
Samuel Attard
@MarshallOfSound
That diff is fine :) :+1:
Jesse Ostrander
@jostrander
so last request
and I'm pushing v 0.1
how do I import event emitter
so I can just do this.emit('serviceUp', service)
Samuel Attard
@MarshallOfSound
import Emitter from 'events'
class XXXX extends Emitter {
Jesse Ostrander
@jostrander
:+1: awesome
Jesse Ostrander
@jostrander
not great but better than nothing at all
lol
fuuuuu
work email again
Samuel Attard
@MarshallOfSound
Fix it up and then I want to change something real quick :smile:
Jesse Ostrander
@jostrander
errr
you did the same thing chief
Samuel Attard
@MarshallOfSound
I did
...
Where
Shit
electron-chromecast right?
Jesse Ostrander
@jostrander
nope
this repo
LiteLotus
@Lite5h4dow
Hey guys, I'm having issues with getting Chromecast support working on arch
I have avahi installed but no luck
LiteLotus
@Lite5h4dow
Gpmdp is really slow too