X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-html5-editor.git;a=blobdiff_plain;f=README.md;h=26edc34655851187c4de7d691f3598032fd9f265;hp=272da2ef2d07941a1fae14cad5530c125c93ac8c;hb=928527c2ae6efd3536d39f1cf066f5ee44209212;hpb=0f0011fe19f527abc6d67c7245720d5d451085f5 diff --git a/README.md b/README.md index 272da2e..26edc34 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,17 @@ Quick Start Guide window.peach_parser.parse("

foo

", {fragment: "body"}) +5. Open ``editor_tests_coffee.html`` in your browser + For further reading, see "Running Under node.js" below. Running Under node.js --------------------- +With node.js and Coffeescript, you can compile the coffeescript so you can use +the faster test pages, and you can test the html parser without a browser. + Dependencies: node.js, CoffeeScript 1. Install node.js https://nodejs.org/en/ @@ -86,6 +91,10 @@ Now you can do any of these things in any order: Note: the CoffeeScript compile time is significant, so you'll want to use the compiled javascript even though you could use the ``.coffee`` version. +* Hack editor.coffee more quickly, by testing in editor_tests.html which uses + the compiled version of the parser, thus speeding up load time + considerably. + Feedback, Questions, Etc ------------------------