Coder Social home page Coder Social logo

Bug in Opera about require-css HOT 4 CLOSED

guybedford avatar guybedford commented on August 12, 2024
Bug in Opera

from require-css.

Comments (4)

guybedford avatar guybedford commented on August 12, 2024

Try the latest version from master, I believe I fixed this earlier today.

On Friday, February 8, 2013, James Messinger wrote:

There is a bug that prevents the plug-in from working in Opera. The code
creates a variable called "agentMatch", which is always null in Opera, so
the following line blows up:

var useLinks = (browserEngine && (parseInt(agentMatch[4]) > 5 ||
parseInt(agentMatch[3]) > 8 || parseInt(agentMatch[2]) > 9 ||
parseInt(agentMatch[1]) > 18)) || undefined;


Reply to this email directly or view it on GitHubhttps://github.com//issues/39..

from require-css.

JamesMessinger avatar JamesMessinger commented on August 12, 2024

Hmmm... Is there a reason the new version uses anonymous module definitions rather than named modules? Previously, the modules were named "css" and "normalize", and I have lots of existing modules that refer to those dependencies.

from require-css.

guybedford avatar guybedford commented on August 12, 2024

Anonymous module definitions are the recommended method in RequireJS as it allows for portability and using the css dependency name for other things depending on context. If you setup the map configuration as in the readme, it should read them correctly. Do you mean your modules expect css and normalize to refer to the ones from this module, or for them to refer to other implementations?

from require-css.

guybedford avatar guybedford commented on August 12, 2024

If you are having any further issues in Opera please let me know. Closing for now, much appreciated for reporting.

from require-css.

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.