GithubHelp home page GithubHelp logo

Comments (4)

bryc avatar bryc commented on May 28, 2024

Those seem to be CSS warnings, not JS warnings. I have those messages disabled in the console because they're really common. Every webpage has 'em - it's when a CSS property is used that the browser doesn't understand. Font Awesome uses a lot of cross-browser code to maximize browser support. The progid stuff is specific to IE for example.

It shouldn't cause any problems because the browser simply ignores it - that's why multiple vendor specific properties can be used, like -o-x, -webkit-x and -moz-x. Firefox will obviously not recognize the Opera or Webkit properties. To be honest I'm surprised there's only 6 of these.

from mpkedit.

cxd4 avatar cxd4 commented on May 28, 2024

lol! CSS warnings sorry, not JS. Ate so much JS for breakfast and lunch I just said JS without even looking at the console actually. (I did look at the code it highlighted, but it was all cramped together into a single line and I just tl;dr'd it as JS.)

Well I guess my OCD was hoping there would be a way to modify the CSS to prevent the warnings from buffering up the console RAM, but if it can't be done without either replacing Font Awesome entirely or using something different, then maybe the issue can't be helped.

from mpkedit.

bryc avatar bryc commented on May 28, 2024

Unfortunately not without potentially breaking IE or OS X things. Why not just disable CSS warnings?

I did modify the original font-awesome.min.css to remove WOFF2 fonts, because it was trying to load fonts that didn't exist (404 error), when I only had WOFF (original) fonts. I deleted all but the *.woff fonts from the package.

from mpkedit.

cxd4 avatar cxd4 commented on May 28, 2024

I personally am not really a "disable warnings" kind of guy. When it comes to clean performance/well-defined reactions, I always like to go straight for the source to maximize consistent, direct behavior.

However I understand it that there's nothing otherwise that can be done in this case without writing something in place of Font Awesome, so I ought to spare you the potential distraction and I think just close the issue.

from mpkedit.

Related Issues (15)

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.