This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16900 - [Shadow]: Typo in example
Summary: [Shadow]: Typo in example
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14978
  Show dependency treegraph
 
Reported: 2012-05-01 19:22 UTC by Oliver Nightingale
Modified: 2012-05-11 23:27 UTC (History)
0 users

See Also:


Attachments

Description Oliver Nightingale 2012-05-01 19:22:32 UTC
"function {"

Just a small typo in the example, should be "function () {", makes it a little easier on those copying and pasting the example.

This is within the following section of the example:

document.addEventListener('DOMContentLoaded', function {
    [].forEach.call(document.querySelectorAll('ul.stories'), makeShadowSubtree);
});
Comment 1 Dimitri Glazkov 2012-05-11 23:27:06 UTC
http://dvcs.w3.org/hg/webcomponents/rev/30222518ccdc

Thanks!