Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

npm version can not be used as a module #16

Description

@elmerbulthuis

Using requirejs, using the follwing configuration for the package:

"packages": [{
    "name": "ix",
    "main": "ix.js"
}]

now when I try to require ix, it will try and fetch Ix.js because this is references from the ix library.

This seems to be causing trouble:

    define(['Ix', 'exports'], function (Ix, exports) {

By renaming Ix to ix, the proper files get loaded, but I get a

Uncaught TypeError: Cannot read property 'isEqual' of undefined

I just use the l2o.js script, which is fine. What is the ix.js script for anyway?

I think moving the l2o to a seperate repository, keeping the name lowercase would solve all problems. I really love Linq and I use l2o a lot. It would be great if there was more development in the project. Maybe a different repo can also achieve that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions