mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-54987 core: Pull Chart.js in core
This commit is contained in:
parent
90a8bdbfc0
commit
45feaec83b
6 changed files with 10291 additions and 0 deletions
|
@ -49,6 +49,7 @@ lib/mustache/
|
||||||
lib/amd/src/mustache.js
|
lib/amd/src/mustache.js
|
||||||
lib/graphlib.php
|
lib/graphlib.php
|
||||||
lib/spout/
|
lib/spout/
|
||||||
|
lib/amd/src/chartjs-lazy.js
|
||||||
mod/assign/feedback/editpdf/fpdi/
|
mod/assign/feedback/editpdf/fpdi/
|
||||||
repository/s3/S3.php
|
repository/s3/S3.php
|
||||||
theme/bootstrapbase/less/bootstrap/
|
theme/bootstrapbase/less/bootstrap/
|
||||||
|
|
5
lib/amd/build/chartjs-lazy.min.js
vendored
Normal file
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
1
lib/amd/build/chartjs.min.js
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
define(["core/chartjs-lazy"],function(a){return a});
|
10253
lib/amd/src/chartjs-lazy.js
Normal file
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
25
lib/amd/src/chartjs.js
Normal 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;
|
||||||
|
});
|
|
@ -261,4 +261,10 @@
|
||||||
<license>GPL</license>
|
<license>GPL</license>
|
||||||
<version>2.3.0</version>
|
<version>2.3.0</version>
|
||||||
</library>
|
</library>
|
||||||
|
<library>
|
||||||
|
<location>amd/src/chartjs-lazy.js</location>
|
||||||
|
<name>Chart.js</name>
|
||||||
|
<license>MIT</license>
|
||||||
|
<version>2.1.6</version>
|
||||||
|
</library>
|
||||||
</libraries>
|
</libraries>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue