8000 CustomEvent support for older devices. by 3mcd · Pull Request #427 · twbs/ratchet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CustomEvent support for older devices. #427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

3mcd
Copy link
@3mcd 3mcd commented Mar 5, 2014

Samsung Galaxy SII did not pass typeof CustomEvent == 'function' in a PhoneGap application. This broke Push and my app. This fix should be applied for all CustomEvents in Ratchet in order to work on older devices.

Samsung Galaxy SII did not pass typeof CustomEvent == 'function' in a PhoneGap application. This broke Push and my app. This fix should be applied for all CustomEvents in Ratchet in order to work on older devices.
8000 XhmikosR added the js label Mar 5, 2014
@XhmikosR XhmikosR added this to the 2.0.2 milestone Mar 5, 2014
var e;
var options = {};

options.detail = { state: getCached(PUSH.id) };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just make these part of the object literal when initially assigning to options?

@connors
Copy link
Collaborator
connors commented Mar 28, 2014

cc @connor @fat

@huang-x-h
Copy link

Why not import CustomEvent Ployfill? this is ionic(angular mobile framework) dose. ionic-team/ionic-framework@963e0e3

@miguelcobain
Copy link

Related (duplicate) with #675

This was referenced Feb 2, 2015
@XhmikosR
Copy link
Member
XhmikosR commented Feb 9, 2015

I guess this is obsolete now after the new PRs.

@XhmikosR XhmikosR closed this Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0