MDL-54987 core: Pull Chart.js in core

This commit is contained in:
Frederic Massart 2016-06-22 15:19:08 +08:00
parent 90a8bdbfc0
commit 45feaec83b
No known key found for this signature in database
GPG key ID: AC343CE142B12FB9
6 changed files with 10291 additions and 0 deletions

5
lib/amd/build/chartjs-lazy.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
lib/amd/build/chartjs.min.js vendored Normal file
View file

@ -0,0 +1 @@
define(["core/chartjs-lazy"],function(a){return a});

10253
lib/amd/src/chartjs-lazy.js Normal file

File diff suppressed because it is too large Load diff

25
lib/amd/src/chartjs.js Normal file
View file

@ -0,0 +1,25 @@
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Chart.js loader.
*
* @package core
* @copyright 2016 Frédéric Massart - FMCorz.net
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
define(['core/chartjs-lazy'], function(ChartJS) {
return ChartJS;
});