diff options
| author | ARC <arjunrc@gmail.com> | 2015-05-04 04:32:51 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-05-04 04:32:51 -0400 |
| commit | bfe426a83bfcd32bac22bc06cccb15f15a9f9450 (patch) | |
| tree | 996b8848922770b8127ad1abfa7f99dac566d895 /www/lib/moment/templates | |
| parent | a838bdff9750af4ed6be0bad981ceb65341609f1 (diff) | |
Events Graphs now supports time based filters (using the excellent moment library)
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'; |
