Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Moment.js is there but still "Neither XDate or moment.js was found" #18

Closed
@alvipeo

Description

@alvipeo

I don't use in my AngularJS app neither AMD nor Require so I just include moment.js. And after the validate.js is included. Still, I get "Neither XDate or moment.js was found" error.

This is where the problem is - line 659 (v. 0.3.2):
var moment = v.tryRequire("moment");

It returns null. But the global scope moment is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions