-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix rendering of examples #237
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.vscode | ||
node_modules | ||
.idea | ||
DS_Store |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,28 @@ | ||||||
# Verifiable Credential Service Worker Plugin for ReSpec | ||||||
|
||||||
But with support for v2, and no JSON-LD processing. | ||||||
|
||||||
# Usage | ||||||
|
||||||
To use this extension, add the `respec-plugins` directory to your spec, | ||||||
then configure respect to use the worker to post process like so: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
```html | ||||||
<head> | ||||||
<title>Respec Service Worker Plugin Test</title> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks @TallTed similar to my response to David, I will incorporate your changes in a follow-up PR. |
||||||
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' /> | ||||||
<script src='https://www.w3.org/Tools/respec/respec-w3c' class='remove'></script> | ||||||
<script src="https://cdn.jsdelivr.net/gh/w3c/vc-jose-cose/plugin/dist/main.js"></script> | ||||||
<script type="text/javascript" class="remove"> | ||||||
var respecConfig = { | ||||||
// ... | ||||||
postProcess: [window.respecVcJoseCose.processVcJoseCose] | ||||||
}; | ||||||
</script> | ||||||
</head> | ||||||
``` | ||||||
|
||||||
### Credits | ||||||
|
||||||
Based on https://github.com/transmute-industries/respec-vc-jwt, which was based | ||||||
on the original plugin here https://github.com/digitalbazaar/respec-vc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this "but" compare with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/w3c/respec-vc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a good sentence —
Neither is this —
Nor this —
Nor this —
Please provide some rephrasing, I guess through a new PR since this one was rushed through.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After cycling this through my brain a few more times, I think what the above was trying to say is —
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TallTed handling this here #241