Skip to content

Commit 241ad82

Browse files
author
andrew.hurskiy
committed
Added import of moment into core.scale.js.
1 parent 86c4259 commit 241ad82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/core.scale.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
'use strict';
22

3+
var moment = require('moment');
4+
moment = typeof(moment) === 'function' ? moment : window.moment;
5+
36
module.exports = function(Chart) {
47

58
var helpers = Chart.helpers;

0 commit comments

Comments
 (0)