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

Unified Diff: pkg/mutation_observer/README.md

Issue 21109007: add mutation observer polyfill package (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix for constructor property Created 7 years, 5 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
Index: pkg/mutation_observer/README.md
diff --git a/pkg/mutation_observer/README.md b/pkg/mutation_observer/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..df7d9d07900a410dc6471d9fe5107f182ade34f6
--- /dev/null
+++ b/pkg/mutation_observer/README.md
@@ -0,0 +1,31 @@
+# Mutation Observers polyfill
+
+Mutation Observers provide a way to react to changes in the DOM.
blois 2013/07/30 17:11:09 Maybe a comment as to what platforms need this (IE
Jennifer Messerly 2013/07/30 18:05:20 Done.
+
+## More information
+
+* [API documentation](http://api.dartlang.org/docs/bleeding_edge/dart_html/MutationObserver.html)
+* [Mozilla Developer Network page](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver)
+* [Specification](https://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#mutation-observers)
+
+## Getting started
+
+Include the polyfill in your HTML `<head>`:
+
+```html
+ <script src="packages/mutation_observer/mutation_observer.debug.js"></script>
Siggi Cherem (dart-lang) 2013/07/30 16:44:47 seems like there is no 'debug' in our package?
blois 2013/07/30 17:11:09 Convention is usually filename.js for debug and fi
+```
+
+You can also use a minified version for deployment:
+
+```html
+ <script src="packages/mutation_observer/mutation_observer.min.js"></script>
Siggi Cherem (dart-lang) 2013/07/30 16:44:47 seems that the 'min' file is missing, should we su
+```
+
+## Getting the source code
+
+The source for this package is at:
+<https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/pkg/mutation_observer/>
+
+The original source of the JavaScript code is at:
+<https://github.com/Polymer/MutationObservers/tree/master>

Powered by Google App Engine
This is Rietveld 408576698