@haxtheweb/pdf-browser-viewer
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "Start of pdf-browser-viewer", | ||
@@ -49,8 +49,8 @@ "repository": { | ||
"devDependencies": { | ||
"@haxtheweb/deduping-fix": "^9.0.6", | ||
"@haxtheweb/storybook-utilities": "^9.0.6", | ||
"@haxtheweb/deduping-fix": "^9.0.7", | ||
"@haxtheweb/storybook-utilities": "^9.0.7", | ||
"@open-wc/testing": "4.0.0", | ||
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
"@polymer/iron-demo-helpers": "3.1.0", | ||
"@web/dev-server": "0.4.2", | ||
"@web/dev-server": "0.4.6", | ||
"@webcomponents/webcomponentsjs": "^2.8.0", | ||
@@ -71,3 +71,3 @@ "concurrently": "8.2.2", | ||
], | ||
"gitHead": "04cae22f40424464d43057349cde27f55cb32ca1" | ||
"gitHead": "f594e7d20e2b7a815d085b12b1e0c8adc3504293" | ||
} |
@@ -12,31 +12,14 @@ # <pdf-browser-viewer> | ||
import '@haxtheweb/pdf-browser-viewer.js'; | ||
/* At top of an application */ | ||
<script type="module" src="pdf-browser-viewer.js"></script> | ||
/* Alternatives for top of application */ | ||
<script type="module"> | ||
import '@haxtheweb/pdf-browser-viewer.js'; | ||
import {PdfBrowserViewer} from '@haxtheweb/pdf-browser-viewer'; | ||
</script> | ||
``` | ||
## Develop / Demo | ||
Run `yarn start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
Run `npm start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
```bash | ||
$ yarn start | ||
$ npm start | ||
``` | ||
## Test | ||
```bash | ||
$ yarn run test | ||
``` | ||
## Build | ||
Builds ensure that wcfactory can correctly compile your web component project to | ||
work on the maximum number of browsers possible. | ||
```bash | ||
$ yarn run build | ||
``` | ||
## Contributing | ||
@@ -43,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53291
16
742
42