From cba70b51febc386200ff0544010480f3272594ba Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Wed, 1 Oct 2014 14:07:11 -0700 Subject: [PATCH] Make built files use only ASCII characters Test Plan: Searched for `[^\x00-\x7f]` in vim and had no results, where there were before. Reviewers: emily Reviewed By: emily Differential Revision: http://phabricator.khanacademy.org/D13459 --- Makefile | 2 +- README.md | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 64a61820b..9b6f34e59 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ build/katex.js: katex.js $(wildcard src/*.js) ./node_modules/.bin/browserify $< --standalone katex > $@ build/katex.min.js: build/katex.js - ./node_modules/.bin/uglifyjs --mangle < $< > $@ + ./node_modules/.bin/uglifyjs --mangle --beautify ascii_only=true,beautify=false < $< > $@ build/%.less.css: static/%.less ./node_modules/.bin/lessc $< $@ diff --git a/README.md b/README.md index ea1479d32..339bafbf4 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,6 @@ Download the built files from [the releases page](https://github.com/khan/katex/ ``` -Specify UTF-8 as your content type: - -```html - -``` - Call `katex.render` with a TeX expression and a DOM element to render into: ```js