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

Side by Side Diff: lib/src/hydrolysis/API.md

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « lib/src/hydrolysis/.travis.yml ('k') | lib/src/hydrolysis/index.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Objects 1 ## Objects
2 <dl> 2 <dl>
3 <dt><a href="#hydrolysis">hydrolysis</a> : <code>object</code></dt> 3 <dt><a href="#hydrolysis">hydrolysis</a> : <code>object</code></dt>
4 <dd><p>Static analysis for Polymer.</p> 4 <dd><p>Static analysis for Polymer.</p>
5 </dd> 5 </dd>
6 </dl> 6 </dl>
7 ## Functions 7 ## Functions
8 <dl> 8 <dl>
9 <dt><a href="#isSiblingOrAunt">isSiblingOrAunt()</a> ⇒ <code>boolean</code></dt> 9 <dt><a href="#isSiblingOrAunt">isSiblingOrAunt()</a> ⇒ <code>boolean</code></dt>
10 <dd><p>Returns true if <code>patha</code> is a sibling or aunt of <code>pathb</c ode>.</p> 10 <dd><p>Returns true if <code>patha</code> is a sibling or aunt of <code>pathb</c ode>.</p>
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> 169 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code>
170 170
171 | Param | Type | Description | 171 | Param | Type | Description |
172 | --- | --- | --- | 172 | --- | --- | --- |
173 | href | <code>string</code> | the import to get metadata for. | 173 | href | <code>string</code> | the import to get metadata for. |
174 174
175 <a name="hydrolysis.Analyzer+getLoadedAst"></a> 175 <a name="hydrolysis.Analyzer+getLoadedAst"></a>
176 #### analyzer.getLoadedAst(href, [loaded]) ⇒ <code>Promise.&lt;DocumentAST&gt;</ code> 176 #### analyzer.getLoadedAst(href, [loaded]) ⇒ <code>Promise.&lt;DocumentAST&gt;</ code>
177 Returns a promise resolving to a form of the AST with all links replaced 177 Returns a promise resolving to a form of the AST with all links replaced
178 with the document they link to. .css and .script files become <style> and 178 with the document they link to. .css and .script files become &lt;style&gt; and
179 <script>, respectively. 179 &lt;script&gt;, respectively.
180 180
181 The elements in the loaded document are unmodified from their original 181 The elements in the loaded document are unmodified from their original
182 documents. 182 documents.
183 183
184 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> 184 **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code>
185 185
186 | Param | Type | Description | 186 | Param | Type | Description |
187 | --- | --- | --- | 187 | --- | --- | --- |
188 | href | <code>string</code> | The document to load. | 188 | href | <code>string</code> | The document to load. |
189 | [loaded] | <code>Object.&lt;string, boolean&gt;</code> | An object keyed by al ready loaded documents. | 189 | [loaded] | <code>Object.&lt;string, boolean&gt;</code> | An object keyed by al ready loaded documents. |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ## isSiblingOrAunt() ⇒ <code>boolean</code> 423 ## isSiblingOrAunt() ⇒ <code>boolean</code>
424 Returns true if `patha` is a sibling or aunt of `pathb`. 424 Returns true if `patha` is a sibling or aunt of `pathb`.
425 425
426 **Kind**: global function 426 **Kind**: global function
427 <a name="redirectSibling"></a> 427 <a name="redirectSibling"></a>
428 ## redirectSibling() ⇒ <code>string</code> 428 ## redirectSibling() ⇒ <code>string</code>
429 Change `localPath` from a sibling of `basePath` to be a child of 429 Change `localPath` from a sibling of `basePath` to be a child of
430 `basePath` joined with `redirect`. 430 `basePath` joined with `redirect`.
431 431
432 **Kind**: global function 432 **Kind**: global function
OLDNEW
« no previous file with comments | « lib/src/hydrolysis/.travis.yml ('k') | lib/src/hydrolysis/index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698