From 3657e5dfabd3db6e6d28c603a4eb46987ca42679 Mon Sep 17 00:00:00 2001 From: Joel Mukuthu Date: Tue, 2 Jun 2015 16:47:49 +0200 Subject: [PATCH] Fixed UMD definition for browser globals --- src/moment-interval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moment-interval.js b/src/moment-interval.js index b500246..109d253 100755 --- a/src/moment-interval.js +++ b/src/moment-interval.js @@ -10,7 +10,7 @@ module.exports = factory(require('moment')); } else { // Browser globals (root is window) - root.returnExports = factory(root.moment); + root.momentInterval = factory(root.moment); } }(this, function (moment) { 'use strict';