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

Load html #347

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Load html #347

wants to merge 18 commits into from

Commits on Apr 9, 2020

  1. Load JSON-LD from HTML documents.

    * Adds options parameter to documentLoader
    * Uses xmldom, if loaded.
    * Adds util.ParseContentTypeHeader
    * Adds documentLoader implementations for xhr and node (still requires tests).
    gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    d25c882 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7730b10 View commit details
    Browse the repository at this point in the history
  3. Fix lint errors.

    gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    59da13f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdc9343 View commit details
    Browse the repository at this point in the history
  5. Update changelog

    gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    7b29cb3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a41f081 View commit details
    Browse the repository at this point in the history
  7. Test for DOMParser slightly more complicated.

    Skip HTML tests if there is  no DOMParser, or loading the module raises an exception.
    Allows Karma tests to pass.
    gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    03c4834 View commit details
    Browse the repository at this point in the history
  8. Fix CHANGELOG.

    gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    5fa1b2a View commit details
    Browse the repository at this point in the history
  9. Apply suggestions from @dlongley code review

    Co-Authored-By: Dave Longley <dlongley@digitalbazaar.com>
    gkellogg and dlongley committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    5315d67 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    31f192d View commit details
    Browse the repository at this point in the history
  11. Fix changelog.

    davidlehn authored and gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    9d5ec19 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2664ac7 View commit details
    Browse the repository at this point in the history
  13. Update lib/documentLoaders/xhr.js

    Co-Authored-By: David I. Lehn <dil@lehn.org>
    gkellogg and davidlehn committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    868dae6 View commit details
    Browse the repository at this point in the history
  14. Update lib/documentLoaders/node.js

    Co-Authored-By: David I. Lehn <dil@lehn.org>
    gkellogg and davidlehn committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    e38ba63 View commit details
    Browse the repository at this point in the history
  15. Update lib/jsonld.js

    Co-Authored-By: David I. Lehn <dil@lehn.org>
    gkellogg and davidlehn committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    9a9bbdb View commit details
    Browse the repository at this point in the history
  16. Fix lint issues.

    davidlehn authored and gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    7cc3d1c View commit details
    Browse the repository at this point in the history
  17. Update error code.

    - Updated tests switch from "invalid script element" to "loading
      document failed".
    davidlehn authored and gkellogg committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    66a2092 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    11b68b9 View commit details
    Browse the repository at this point in the history