LeaVerou / prefixfree

Break free from CSS prefix hell!
http://projects.verou.me/prefixfree/
MIT License
3.82k stars 713 forks source link

error in dev tools #185

Open guyvo opened 10 years ago

guyvo commented 10 years ago

I'm using a local copy of prefix 1.0.3/1.0.7 and in the dev tool of safari I get one error on:

TypeError: 'undefined' is not a function (evaluating 'this.hide()')

BTW Can I use the github link to include into my page ?

TylerEich commented 10 years ago

You'll have to provide more context. For example, what is your code? If your code is on Github, you can provide a link to the repository. Are you running any external components, like jQuery?

For what it's worth, I really doubt this is related to prefixfree. It sounds like a jQuery error.

guyvo commented 10 years ago

hi Tyler,

Thanks for your answer and indeed seems to be coming from a safari extension probably used for the dev tools because the only javascript on the site is prefix free and no I don’t use jquery:

Oeps wrong format via mail attached now

safarierr

Sorry I was to quick you can’t delete the issue of course just one more q: Can I point to the git link directly to include prefixfree so I always have the bleeding edge ( or the latest stable ) or is this not recommended ? ( I work locally minified now )

-G

On 15 Feb 2014, at 18:45, Tyler Eich notifications@github.com wrote:

You'll have to provide more context. For example, what is your code? If your code is on Github, you can provide a link to the repository. Are you running any external libraries, like jQuery?

For what it's worth, I really doubt this is related to prefixfree. It sounds like a jQuery error.

— Reply to this email directly or view it on GitHub.

TylerEich commented 10 years ago

Raw Github files are not designed to be used as a CDN. If and when you launch your project, link a specific version of the library(ies) you're using (e.g. prefixfree v1.0.7). That way, the code will perform the same as when you were testing and developing it.

If you don't want to host prefixfree yourself, I would use a designated CDN like cdnjs or jsDelivr.