question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Finish porting rest of Rx-DOM

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

6reactions
benleshcommented, May 21, 2016

@IDSFN come on ! requests pull welcome are.

❤️ ❤️ ❤️

4reactions
jayphelpscommented, Nov 15, 2016

Someone asked how to do geolocation.currentPosition() in v5 on gitter, so I whipped this up quick…might help others who stumble upon this:

class CurrentPositionObservable extends Observable {
  constructor(options) {
    super();

    this.options = options;
  }

  _subscribe(observer) {
    window.navigator.geolocation.getCurrentPosition(
      data => {
        observer.next(data);
        observer.complete();
      },
      e => observer.error(e),
      this.options
    );
  }
}

const geolocation = {
  currentPosition: options => new CurrentPositionObservable(options)
};

// use it how you would in v4 rx-dom
geolocation.currentPosition()
  .subscribe(value => console.log(value);

Hopefully this also sheds some light on how easy it is to make custom Observables 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wireless Local Number Portability (WLNP)
A wireline-to-wireless port will probably take longer to complete, and could take several days. Before porting between wireline and wireless phones, ...
Read more >
What Happens While Your Number is Being Ported? - Talkroute
The time required to release the number varies from provider to provider. The average time to complete a port request from the date...
Read more >
Port your Google Voice number
Port your mobile number to a personal Google Voice account ... After the port is complete, your service provider cancels your phone service....
Read more >
REST API: Porting Phone Numbers - Twilio
Porting process has completed, and the phone number is ready for use. CANCELED, Port request was canceled – generally by the end user/customer,...
Read more >
Transfer Cell Phone Number - T-Mobile
This will ensure your porting process goes smoothly. ... We'll do the rest. ... T-Mobile will contact your previous carrier to complete the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found