Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with non-module URIs #18

Open
nrabinowitz opened this issue May 4, 2012 · 1 comment
Open

Deal with non-module URIs #18

nrabinowitz opened this issue May 4, 2012 · 1 comment

Comments

@nrabinowitz
Copy link
Owner

Per Sebastian's test page in #17, we probably need to support URIs without a specific module, if they include specific markup in the a tag. I think potential markup here should include:

  • class="awld-type-*"
  • class="awld-resource"
@nrabinowitz
Copy link
Owner Author

Suggested approach:

  • Revise the registry to use module paths as keys and values that can be strings, regex, or functions to test a single link
  • Revise the code that looks for module links to cycle through all links and test each (I don't think this will be significantly slower - still O(m*n))
  • Add a "default" module at the end of the registry with tests for the above markup - all the module needs is a title and noFetch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant