davidd8 / meteor-external-file-loader

The external file loader package makes it easy to load external js and css files dynamically within Meteor.
MIT License
69 stars 7 forks source link

Removing included files #10

Open elmarti opened 9 years ago

elmarti commented 9 years ago

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?

m-pokrovskii commented 8 years ago

+1

elmarti commented 8 years ago

Hey m-pokrovskii in the end I simply inserted all of the Reveal library into the onCreated and then assigned the Reveal object to window.Reveal, which solved the problem for me. I have since found a way to load files into a particular context, but I think that might do better on a different project.

m-pokrovskii commented 8 years ago

Thanks, but my issue is quite different: I load a css files, and i don't want them on the anothers pages.

elmarti commented 8 years ago

I don't think this is being developed any more so my made my own for just CSS. This does that and allows you to explicitly remove them https://atmospherejs.com/elmarti/super-css-loader

m-pokrovskii commented 8 years ago

Thanks for this link