Giter Club home page Giter Club logo

Comments (2)

geoffdavis92 avatar geoffdavis92 commented on May 24, 2024

I'm also not seeing this in Chrome (Version 49.0.2623.112 (64-bit))

Loaded up the script from node_modules, placed it in head, and Push.js isn't working. No errors thrown, Push object shows up in Window object.

EDIT: Here is the test project I added push.js to. See if there's something weird I'm trying to do, but I followed the Getting Started section pretty closely.

from push.js.

Nickersoft avatar Nickersoft commented on May 24, 2024

I just pushed f4d8486 which seems to fix this issue (with both Safari and Chrome). I think I know what happened. In the request() method, legacy methods (no longer in either browser) were being checked for before methods in the current standard. I switched these two checks around and it seems to be working, at least on the official site. I think you might run into issues running it locally because of how browser permissions work (similar to how you can't run the Facebook API on a local site). Closing this ticket for now.

from push.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.