<commit_before>SRC_DIR = ./src

UGLIFY ?= `which uglifyjs`

SOURCE_FILES = \
	${SRC_DIR}/shim-head.js \
	${SRC_DIR}/Vml.js \
	${SRC_DIR}/VmlScene.js \
	${SRC_DIR}/VmlPanel.js \
	${SRC_DIR}/VmlEvents.js \
	${SRC_DIR}/VmlImage.js \
	${SRC_DIR}/VmlLabel.js \
	${SRC_DIR}/VmlWedge.js \
	${SRC_DIR}/shim-tail.js

all: msie min

msie: protovis-msie.js
min: protovis-msie.min.js

protovis-msie.js: $(SOURCE_FILES) Makefile
	@@echo "Building" $@
	@@cat $(SOURCE_FILES) > $@

%.min.js: %.js Makefile
	@@if test ! -z ${UGLIFY}; then \
		echo "Building" $@; \
		${UGLIFY} < $< > $@; \
	else \
		echo "You must have ${UGLIFY} installed in order to minify the library."; \
	fi

clean:
	rm -f protovis-msie.js protovis-msie.min.js

.PHONY: all msie min clean<commit_msg>Make sure minified output is ASCII.<commit_after>SRC_DIR = ./src

UGLIFY ?= `which uglifyjs`

SOURCE_FILES = \
	${SRC_DIR}/shim-head.js \
	${SRC_DIR}/Vml.js \
	${SRC_DIR}/VmlScene.js \
	${SRC_DIR}/VmlPanel.js \
	${SRC_DIR}/VmlEvents.js \
	${SRC_DIR}/VmlImage.js \
	${SRC_DIR}/VmlLabel.js \
	${SRC_DIR}/VmlWedge.js \
	${SRC_DIR}/shim-tail.js

all: msie min

msie: protovis-msie.js
min: protovis-msie.min.js

protovis-msie.js: $(SOURCE_FILES) Makefile
	@@echo "Building" $@
	@@cat $(SOURCE_FILES) > $@

%.min.js: %.js Makefile
	@@if test ! -z ${UGLIFY}; then \
		echo "Building" $@; \
		${UGLIFY} --ascii < $< > $@; \
	else \
		echo "You must have ${UGLIFY} installed in order to minify the library."; \
	fi

clean:
	rm -f protovis-msie.js protovis-msie.min.js

.PHONY: all msie min clean
{'fraction_non_alphanumeric': 0.19001297016861218, 'fraction_numerical': 0.0, 'mean_word_length': 3.3342696629213484, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6353601', 'n_tokens_mistral': 706, 'n_tokens_neox': 686, 'n_words': 133}