diff --git a/src/scales/scale.time.js b/src/scales/scale.time.js index 58984b3c4..e885b9ee9 100644 --- a/src/scales/scale.time.js +++ b/src/scales/scale.time.js @@ -1,6 +1,11 @@ (function() { "use strict"; + if (!window.moment) { + console.warn('Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at http://momentjs.com/'); + return; + } + var root = this, Chart = root.Chart, helpers = Chart.helpers;