summaryrefslogtreecommitdiffstats
path: root/bower_components/moment/templates
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2015-07-08 07:35:02 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2015-07-08 07:35:02 -0300
commitb0b24795b24ee6809397fbbadf42f31f310a219f (patch)
tree46d05bb47460b4ec679211717c4ab07414b80d9c /bower_components/moment/templates
parent5ec02211214350ee558fd9f6bb052264fd24f75e (diff)
Imported Upstream version 7.6.0upstream/7.6.0
Diffstat (limited to 'bower_components/moment/templates')
-rw-r--r--bower_components/moment/templates/amd-named.js7
-rw-r--r--bower_components/moment/templates/amd.js7
-rw-r--r--bower_components/moment/templates/globals.js5
-rw-r--r--bower_components/moment/templates/locale-header.js5
-rw-r--r--bower_components/moment/templates/test-header.js5
5 files changed, 29 insertions, 0 deletions
diff --git a/bower_components/moment/templates/amd-named.js b/bower_components/moment/templates/amd-named.js
new file mode 100644
index 0000000..7610456
--- /dev/null
+++ b/bower_components/moment/templates/amd-named.js
@@ -0,0 +1,7 @@
+/*global define:false*/
+
+import moment from "./moment";
+
+define("moment", [], function () {
+ return moment;
+});
diff --git a/bower_components/moment/templates/amd.js b/bower_components/moment/templates/amd.js
new file mode 100644
index 0000000..847bcef
--- /dev/null
+++ b/bower_components/moment/templates/amd.js
@@ -0,0 +1,7 @@
+/*global define:false*/
+
+import moment from "./moment";
+
+define([], function () {
+ return moment;
+});
diff --git a/bower_components/moment/templates/globals.js b/bower_components/moment/templates/globals.js
new file mode 100644
index 0000000..5ac160f
--- /dev/null
+++ b/bower_components/moment/templates/globals.js
@@ -0,0 +1,5 @@
+/*global window:false*/
+
+import moment from "./moment";
+
+window.moment = moment;
diff --git a/bower_components/moment/templates/locale-header.js b/bower_components/moment/templates/locale-header.js
new file mode 100644
index 0000000..f304506
--- /dev/null
+++ b/bower_components/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/bower_components/moment/templates/test-header.js b/bower_components/moment/templates/test-header.js
new file mode 100644
index 0000000..38940c3
--- /dev/null
+++ b/bower_components/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';