diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-21 12:49:18 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-09-21 12:49:18 -0400 |
| commit | b28028ac4082842143b0f528d6bc539da6ccb419 (patch) | |
| tree | 1e26ea969a781ed8e323fca4e3c76345113fc694 /www/lib/moment/templates | |
| parent | 676270d21beed31d767a06c89522198c77d5d865 (diff) | |
mega changes, including updates and X
Diffstat (limited to 'www/lib/moment/templates')
| -rw-r--r-- | www/lib/moment/templates/amd-named.js | 7 | ||||
| -rw-r--r-- | www/lib/moment/templates/amd.js | 7 | ||||
| -rw-r--r-- | www/lib/moment/templates/globals.js | 5 | ||||
| -rw-r--r-- | www/lib/moment/templates/locale-header.js | 5 | ||||
| -rw-r--r-- | www/lib/moment/templates/test-header.js | 5 |
5 files changed, 29 insertions, 0 deletions
diff --git a/www/lib/moment/templates/amd-named.js b/www/lib/moment/templates/amd-named.js new file mode 100644 index 00000000..76104564 --- /dev/null +++ b/www/lib/moment/templates/amd-named.js @@ -0,0 +1,7 @@ +/*global define:false*/ + +import moment from "./moment"; + +define("moment", [], function () { + return moment; +}); diff --git a/www/lib/moment/templates/amd.js b/www/lib/moment/templates/amd.js new file mode 100644 index 00000000..847bcefa --- /dev/null +++ b/www/lib/moment/templates/amd.js @@ -0,0 +1,7 @@ +/*global define:false*/ + +import moment from "./moment"; + +define([], function () { + return moment; +}); diff --git a/www/lib/moment/templates/globals.js b/www/lib/moment/templates/globals.js new file mode 100644 index 00000000..5ac160f1 --- /dev/null +++ b/www/lib/moment/templates/globals.js @@ -0,0 +1,5 @@ +/*global window:false*/ + +import moment from "./moment"; + +window.moment = moment; diff --git a/www/lib/moment/templates/locale-header.js b/www/lib/moment/templates/locale-header.js new file mode 100644 index 00000000..f304506e --- /dev/null +++ b/www/lib/moment/templates/locale-header.js @@ -0,0 +1,5 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; diff --git a/www/lib/moment/templates/test-header.js b/www/lib/moment/templates/test-header.js new file mode 100644 index 00000000..38940c3e --- /dev/null +++ b/www/lib/moment/templates/test-header.js @@ -0,0 +1,5 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../../moment')) : + typeof define === 'function' && define.amd ? define(['../../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; |
