File: export.js

package info (click to toggle)
node-moment 2.29.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,368 kB
  • sloc: javascript: 286,431; sh: 41; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
// moment.js makes `moment` global on the window (or global) object, while Meteor expects a file-scoped global variable
moment = this.moment;
try {
    delete this.moment;
} catch (e) {
}