From 22cee6a7ea43ba8853efd7013330534dec1731c6 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Mon, 7 Apr 2014 17:21:43 +0800 Subject: [PATCH] MDL-43856 MathJax: Remove unused build folder. This is left over from when I renamed the module. --- .../moodle-filter_mathjax-loader-debug.js | 46 ------------------- .../moodle-filter_mathjax-loader-min.js | 1 - .../moodle-filter_mathjax-loader.js | 46 ------------------- 3 files changed, 93 deletions(-) delete mode 100644 filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-debug.js delete mode 100644 filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-min.js delete mode 100644 filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader.js diff --git a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-debug.js b/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-debug.js deleted file mode 100644 index a2df1208ebf..00000000000 --- a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-debug.js +++ /dev/null @@ -1,46 +0,0 @@ -YUI.add('moodle-filter_mathjax-loader', function (Y, NAME) { - -// 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 . - -/** - * Mathjax JS Loader. - * - * @package filter_mathjax - * @copyright 2014 Damyon Wiese - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -M.filter_mathjax = M.filter_mathjax || { - init : function(params) { - // Add an inline configuration tag to the head. - var config = Y.Node.create(''); - config.setHTML(params.mathjaxconfig); - Y.one('head').append(config); - // Load the mathjax library. - Y.Get.js(params.mathjaxurl, function() { - // Tell mathjax to call back for the language files. - debugger; - MathJax.Localization.addTranslation(params.lang,null,{ - menuTitle: params.langdescription, - directory: M.cfg.wwwroot + "/filter/mathjax/language.php?lang=" - }); - }); - - - } -}; - - -}, '@VERSION@', {"requires": ["get", "node"]}); diff --git a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-min.js b/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-min.js deleted file mode 100644 index 6970a0f8d52..00000000000 --- a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader-min.js +++ /dev/null @@ -1 +0,0 @@ -YUI.add("moodle-filter_mathjax-loader",function(e,t){M.filter_mathjax=M.filter_mathjax||{init:function(t){var n=e.Node.create('');n.setHTML(t.mathjaxconfig),e.one("head").append(n),e.Get.js(t.mathjaxurl,function(){debugger;MathJax.Localization.addTranslation(t.lang,null,{menuTitle:t.langdescription,directory:M.cfg.wwwroot+"/filter/mathjax/language.php?lang="})})}}},"@VERSION@",{requires:["get","node"]}); diff --git a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader.js b/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader.js deleted file mode 100644 index a2df1208ebf..00000000000 --- a/filter/mathjaxloader/yui/build/moodle-filter_mathjax-loader/moodle-filter_mathjax-loader.js +++ /dev/null @@ -1,46 +0,0 @@ -YUI.add('moodle-filter_mathjax-loader', function (Y, NAME) { - -// 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 . - -/** - * Mathjax JS Loader. - * - * @package filter_mathjax - * @copyright 2014 Damyon Wiese - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ -M.filter_mathjax = M.filter_mathjax || { - init : function(params) { - // Add an inline configuration tag to the head. - var config = Y.Node.create(''); - config.setHTML(params.mathjaxconfig); - Y.one('head').append(config); - // Load the mathjax library. - Y.Get.js(params.mathjaxurl, function() { - // Tell mathjax to call back for the language files. - debugger; - MathJax.Localization.addTranslation(params.lang,null,{ - menuTitle: params.langdescription, - directory: M.cfg.wwwroot + "/filter/mathjax/language.php?lang=" - }); - }); - - - } -}; - - -}, '@VERSION@', {"requires": ["get", "node"]});