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

Unified Diff: src/site/articles/improving-the-dom/index.html

Issue 10910215: fix bugs in docs (Closed) Base URL: git@github.com:dart-lang/dartlang.org.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 | « src/site/_includes/library-tour/html-websockets.markdown ('k') | src/site/docs/library-tour/index.markdown » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/articles/improving-the-dom/index.html
diff --git a/src/site/articles/improving-the-dom/index.html b/src/site/articles/improving-the-dom/index.html
index d5418fdf70d4be1b04c025d874aa9cd2756d928f..967341b4a00cd99363e61fcb047766aba629319a 100644
--- a/src/site/articles/improving-the-dom/index.html
+++ b/src/site/articles/improving-the-dom/index.html
@@ -91,7 +91,7 @@ elem.removeAttribute('name');
<td width="50%">
<pre>
// New:
-elem.attributes.contains('name');
+elem.attributes.containsKey('name');
elem.attributes['name'];
elem.attributes['name'] = 'value';
elem.attributes.remove('name');
« no previous file with comments | « src/site/_includes/library-tour/html-websockets.markdown ('k') | src/site/docs/library-tour/index.markdown » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698