Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Allow searching for Angular/Polymer element classes by element name in dartdocs #107

Closed
DartBot opened this issue Sep 29, 2014 · 4 comments

Comments

@DartBot
Copy link

DartBot commented Sep 29, 2014

From [email protected] on July 29, 2014 23:31:14

The annotations added by https://code.google.com/p/dart/issues/detail?id=17982 can't be searched.

  1. Open developer tools JS console in Chrome.
  2. Enter "ng-class" as a search term
  3. No change occurs in the results that are displayed.
  4. Observe the following error in the developer tools console:
    Error {dartException: bJ, name: "", stack: (...), message: (...)}
    "Error
    at dart.b ( https://docs.angulardart.org/index.html_bootstrap.dart.js:1349:3 )
    at dart.e ( https://docs.angulardart.org/index.html_bootstrap.dart.js:1346:9 )
    at wn.t ( https://docs.angulardart.org/index.html_bootstrap.dart.js:11155:36 )
    at dart.J.UQ ( https://docs.angulardart.org/index.html_bootstrap.dart.js:19408:16 )
    at xA.Dw ( https://docs.angulardart.org/index.html_bootstrap.dart.js:18766:18 )
    at eval (eval at ( https://docs.angulardart.org/index.html_bootstrap.dart.js:1504:8 ), :2:35)
    at TL.$0 ( https://docs.angulardart.org/index.html_bootstrap.dart.js:1935:29 )
    at OE.vV ( https://docs.angulardart.org/index.html_bootstrap.dart.js:786:9 )
    at dart.zd ( https://docs.angulardart.org/index.html_bootstrap.dart.js:539:26 )
    at ft ( https://docs.angulardart.org/index.html_bootstrap.dart.js:1404:32 )"

It's worth noting that this error seems to be thrown for any search term that doesn't match one of the class names. However, annotations for angular.dart are commonly used by users (e.g.

) rather than the actual class name.

Original issue: http://code.google.com/p/dart/issues/detail?id=20264

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @iposva-google on July 30, 2014 07:19:30

Status: Triaged
Cc: [email protected] [email protected]
Labels: Area-Tools

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @jacob314 on July 30, 2014 09:17:59

Owner: [email protected]

@DartBot
Copy link
Author

DartBot commented Sep 29, 2014

From @alan-knight on July 31, 2014 11:01:34

Summary: Allow searching for Angular/Polymer element classes by element name in dartdocs (was: searching annotations in dartdoc is broken)
Owner: ---
Labels: -Type-Defect -Area-Tools Type-Enhancement Area-DartDocViewer

@sethladd
Copy link
Contributor

Moved over to dart-lang/dartdoc#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants