Giter VIP home page Giter VIP logo

Comments (9)

wolfeidau avatar wolfeidau commented on June 10, 2024

Hey just checking on how this is going, really would like to use bower to retrieve this library in our application.

Thanks

from pusher-js.

jmdobry avatar jmdobry commented on June 10, 2024

👍

from pusher-js.

kylewelsby avatar kylewelsby commented on June 10, 2024

👍

from pusher-js.

pl avatar pl commented on June 10, 2024

I've just registered pusher-js in Bower, the name of the package is pusher. It does not contain pre-built files though, which I might add in future versions. Let me know if everything works ok for you :)

from pusher-js.

dbachelder avatar dbachelder commented on June 10, 2024

bower deps need to be pre-built there generally isn't a compilation step when fetching and including bower enabled resources.

We don't check our third party resources into git. As of now, we define the dependency, but then we're at a standstill in our process without a custom grunt task or a manual build of pusher...

Please consider publishing a pre-built script for bower.

from pusher-js.

pl avatar pl commented on June 10, 2024

I've included distribution files for 2.1.2 and updated the tag and I'll keep updating them in future releases. Everything should work fine now, so I'm closing the issue.

from pusher-js.

leggetter avatar leggetter commented on June 10, 2024

@pl - Are some of the files in pusher-js still dynamically loaded? The reason I ask is that I'm wondering what happens when somebody uses a bundling system to include pusher-js locally. Should it only bundle pusher.js or pusher.min.js and then the other dynamically loaded files will be fetched as-required from the CDN?

from pusher-js.

pl avatar pl commented on June 10, 2024

Yeah, we still dynamically load dependencies - the SWF file, xhr.js, xdr.js and sockjs.js. You should bundle all the files and configure the CDN endpoints, if you don't want to fall back to js.pusher.com.

https://github.com/pusher/pusher-js/#self-serving-js-and-flash-files

from pusher-js.

leggetter avatar leggetter commented on June 10, 2024

@pl 👍

from pusher-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.