Git Product home page Git Product logo

Comments (7)

mistermendez avatar mistermendez commented on August 28, 2024

Try npm install.

deepMerge was added as a dependency in package.json in 4.11.13.

from html5-skin.

tariqinaam avatar tariqinaam commented on August 28, 2024

I did try npm install and it stil couldn't fix.
When I try load html5-skin via requirejs, it fixes the deepmerge unknown function error but then it throws
Mismatched anonymous define() module: function ()
I think this is more of a deepmerge library issue with requirejs.. Just wondering if anyone tried to use it requirejs.

from html5-skin.

tariqinaam avatar tariqinaam commented on August 28, 2024

I have tried all possible way but it doesn't work with requirejs.
It complain about deepmerge not available. I have tried bundled html5-skin js as well.

has anyone able to make this work with requirejs

from html5-skin.

spaddon avatar spaddon commented on August 28, 2024

@tariqinaam

Since there's an incompatibility between deepmerge and Require.js, the html5-skin needs to be loaded separately. Additionally, whenever you load incompatible scripts along with RequireJS, you need to make sure to load the RequireJS script after these other scripts load. More on this here: https://stackoverflow.com/questions/15371918/mismatched-anonymous-define-module

from html5-skin.

TehShrike avatar TehShrike commented on August 28, 2024

[email protected] exposes a CommonJS entry point via the pkg.browser field, so if you rebuild with 1.4.0 or later, people using AMD modules shouldn't have any issues. A pull request is open to bump the version: #759.

from html5-skin.

welikeideas avatar welikeideas commented on August 28, 2024

Are there any plans to release a version of the player with [email protected]?

from html5-skin.

alanoooyala avatar alanoooyala commented on August 28, 2024

This is being discussed. [Our ref: PBW-6804]

from html5-skin.

Related Issues (19)

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.