Coder Social home page Coder Social logo

meteor-external-file-loader's Introduction

Hi there ๐Ÿ‘‹

meteor-external-file-loader's People

Contributors

davidd8 avatar ejoubaud avatar sterlingwes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

meteor-external-file-loader's Issues

Server-Side Support?

I tried running this on the server-side, but I got the error "TypeError: Cannot call method 'loadJs' of undefined".

Removing included files

I've used this library to include Reveal.JS because it corrupts my css if I use the Meteor package, however what i'm finding now is that when I leave the Reveal.js template where I've used EFL, the files are still included. Is there a way to explicitly remove them?

Support files forced to download

I'm unable to download the asynchronous Google Adsense code using this package, and I believe it's because the server forces a browser to download the script, not display the script. So this fails:

Meteor.Loader.loadJs("//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", success).fail(fail);

And gives the error: "Timeout error: The script was not found or took too long to load."

When I replace the adsense url with the stripe url given in the README, it works fine.

I believe the problem is how the script is being served. Enter the adsense url in your browser (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js) and you will be forced to download the script. Enter the stripe url in your browser (http://js.stripe.com/v2/) and it will display in your browser.

On the server, I believe this is done with a small .htaccess change. Anyway, it seems to be causing this package to fail!

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.