From bfe426a83bfcd32bac22bc06cccb15f15a9f9450 Mon Sep 17 00:00:00 2001 From: ARC Date: Mon, 4 May 2015 04:32:51 -0400 Subject: Events Graphs now supports time based filters (using the excellent moment library) --- www/lib/moment/templates/amd-named.js | 7 +++++++ www/lib/moment/templates/amd.js | 7 +++++++ www/lib/moment/templates/globals.js | 5 +++++ www/lib/moment/templates/locale-header.js | 5 +++++ www/lib/moment/templates/test-header.js | 5 +++++ 5 files changed, 29 insertions(+) create mode 100644 www/lib/moment/templates/amd-named.js create mode 100644 www/lib/moment/templates/amd.js create mode 100644 www/lib/moment/templates/globals.js create mode 100644 www/lib/moment/templates/locale-header.js create mode 100644 www/lib/moment/templates/test-header.js (limited to 'www/lib/moment/templates') 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'; -- cgit v1.2.3