<commit_before>===
title: Supported Platforms
subtitle: What do you need to run Boo
created: 2011-06-29 23:59:13
toc: overview
index: 2
===

§§ blurb

Boo should work in any ECMAScript 5-compliant environment — like Node.js,
Chrome and Firefox. Just load it and hack away.

§§ /blurb


Boo depends on the functional Array additions from JavaScript 1.6, plus
[Object.getPrototypeOf][], [Object.keys][] and [Object.create][].


[Object.getPrototypeOf]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/GetPrototypeOf
[Object.keys]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/keys
[Object.create]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/create
<commit_msg>Adds documentation on supported platform.<commit_after>===
title: Supported Platforms
subtitle: What do you need to run Black
created: 2011-06-29 23:59:13
toc: overview
index: 2
===

§§ blurb

Black should work in any ECMAScript 5-compliant environment — like Node.js,
Chrome and Firefox. Just load it and hack away.

§§ /blurb


You can run it in non-ECMAScript 5-compliant environments by supplying the
appropriate fallbacks. Since black does not rely on any method that can't be
implemented in pure JavaScript, it should be doable.

If you don't want to reinvent the wheel, you can just load the awesome
[ES5-shim][] library.

Tests have been done only on v8 as of now, but they'll be done in other
environments as soon as I port Claire over to something other than
Node.js.


[ES5-shim]: https://github.com/kriskowal/es5-shim

{'fraction_non_alphanumeric': 0.09620253164556962, 'fraction_numerical': 0.024683544303797468, 'mean_word_length': 4.707581227436823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4874751', 'n_tokens_mistral': 526, 'n_tokens_neox': 477, 'n_words': 190}