From: Dasa Paddock Date: Thu, 31 Mar 2016 19:42:11 +0000 (-0700) Subject: Use relative amd moment dependency X-Git-Tag: 2.14.0~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba4598f76d6eb24e1f4bcbaa76ba43a8accc4d34;p=thirdparty%2Fmoment.git Use relative amd moment dependency --- diff --git a/templates/locale-header.js b/templates/locale-header.js index 9a0f5a73f..f568f80ca 100644 --- a/templates/locale-header.js +++ b/templates/locale-header.js @@ -1,6 +1,6 @@ ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : - typeof define === 'function' && define.amd ? define(['moment'], factory) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, function (moment) { 'use strict';