Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: README.md

Issue 10916294: switch html5lib to new pkg layout (Closed) Base URL: https://github.com/dart-lang/html5lib.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | html5parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 88c79c8d923f5bb33da1c88e14ee58e0b1db4354..362ada4d06b871b10443016ebb41501330e6f553 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ Usage
Parsing HTML is easy!
#import('package:html5lib/html5parser.dart', prefix: 'html5parser');
+ #import('package:html5lib/dom.dart');
main() {
var document = html5parser.parse(
@@ -36,10 +37,7 @@ Parsing HTML is easy!
You can pass a String, [RandomAccessFile][file], or list of bytes to `parse`.
There's also `parseFragment` for parsing a document fragment, and `HTMLParser`
-if you want more low level control. Finally, you can get the simple DOM tree
-types like this:
-
- #import('package:html5lib/treebuilders/simpletree.dart');
+if you want more low level control.
Updating
@@ -68,7 +66,7 @@ These files from the [html5lib directory][files] still need to be ported:
* `serializer/*`
* most of `treebuilders/*`
* `treewalkers/*`
-* most of `tests`
+* the `tests` corresponding to the above files
Running Tests
@@ -81,7 +79,7 @@ All tests should be passing.
# Run command line tests
#export DART_SDK=path/to/dart/sdk
- tests/run.sh
+ test/run.sh
[dart]: http://www.dartlang.org/
@@ -90,4 +88,3 @@ All tests should be passing.
[files]: http://html5lib.googlecode.com/hg/python/html5lib/
[pub]: http://www.dartlang.org/docs/pub-package-manager/
[file]: http://api.dartlang.org/docs/continuous/dart_io/RandomAccessFile.html
-
« no previous file with comments | « .gitignore ('k') | html5parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698