www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 31da784b6f9be99263f3a3e77a4f7e2bec8e33ce
parent 8291a7cfe47ba87ea50f0f64694c868967aaf623
Author: Peter Krautzberger <p.krautzberger@gmail.com>
Date:   Tue, 30 Jun 2015 21:43:13 +0200

Merge pull request #1 from mathjax/mj-node

update for MathJax v2.5 release, fixes #3
Diffstat:
MGruntfile.js | 24++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/Gruntfile.js b/Gruntfile.js @@ -48,7 +48,8 @@ module.exports = function(grunt) { "docs", "extensions", "jax", - "localization" + "localization", + "MathJax.js" ], // If you don't need combined configuration files or want to build your own: allConfigs: [ @@ -213,6 +214,14 @@ module.exports = function(grunt) { "jax/output/SVG", "unpacked/jax/output/SVG" ], + commonHtmlOutput: [ + "configs", + "unpacked/config/", + "jax/output/CommonHTML", + "unpacked/jax/output/CommonHTML", + "extensions/CHTML-preview.js", + "unpacked/extensions/CHTML-preview.js", + ], // ## Locales // Removes all locale files. Change this as needed to keep your preferred language. // **NOTE.** English strings are hardcoded. @@ -242,6 +251,7 @@ module.exports = function(grunt) { "extensions/MathMenu.js", "extensions/MathZoom.js", "extensions/Safe.js", + "extensions/CHTML-preview.js", // "extensions/toMathML.js", // only remove `toMathML.js` if you know exactly what you are doing. "unpacked/extensions/FontWarnings.js", "unpacked/extensions/HelpDialog.js", @@ -250,6 +260,7 @@ module.exports = function(grunt) { "unpacked/extensions/MathMenu.js", "unpacked/extensions/MathZoom.js", "unpacked/extensions/Safe.js", + "unpacked/extensions/CHTML-preview.js", // "unpacked/extensions/toMathML.js", // only remove `toMathML.js` if you know exactly what you are doing. ], images: [ @@ -354,14 +365,15 @@ module.exports = function(grunt) { 'clean:images', 'clean:notcode' ]); -}; grunt.registerTask('mjNode', [ - 'clean:packed', // pick one -- packed for production, unpacked for development. - 'clean:allConfigs', // if you do not need any combined configuration files. - 'clean:dropFonts', // when using SVG output + 'clean:packed', + 'clean:allConfigs', + 'clean:dropFonts', 'clean:htmlCssOutput', 'clean:locales', 'clean:miscConfig', 'clean:images', - 'clean:notcode' + 'clean:notcode', + 'clean:miscExtensions' ]); +};