File: export.js

package info (click to toggle)
node-moment 2.16.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,380 kB
  • ctags: 792
  • sloc: sh: 36; 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) {
}