Skip to content

Commit

Permalink
915494: Resolved dependent bot issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dharshana4609 committed Oct 18, 2024
1 parent 2657668 commit 360ec00
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 76 deletions.
13 changes: 9 additions & 4 deletions How to/Custom Fonts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
"dependencies": {
"@syncfusion/ej2-vue-pdfviewer": "*",
"@syncfusion/ej2-base": "*",
"buffer": "^6.0.3",
"core-js": "^3.8.3",
"vue": "^2.6.14"
"crypto-browserify": "^3.12.0",
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"vm-browserify": "^1.1.2",
"vue": "^3.2.13"
},
"devDependencies": {
"@babel/core": "^7.12.16",
Expand All @@ -20,8 +25,7 @@
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^8.0.3",
"vue-template-compiler": "^2.6.14"
"eslint-plugin-vue": "^8.0.3"
},
"eslintConfig": {
"root": true,
Expand All @@ -40,6 +44,7 @@
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
"not dead",
"not ie 11"
]
}
16 changes: 8 additions & 8 deletions How to/Custom Fonts/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
</template>

<script>
import Vue from 'vue';
import { PdfViewerPlugin, Toolbar, Magnification, Navigation,
import { PdfViewerComponent, Toolbar, Magnification, Navigation,
LinkAnnotation, BookmarkView, Annotation, ThumbnailView,
Print, TextSelection, TextSearch, FormFields, FormDesigner,PageOrganizer } from '@syncfusion/ej2-vue-pdfviewer';
import {Browser} from '@syncfusion/ej2-base';
Vue.use(PdfViewerPlugin);
export default {
name: 'app',
name: 'App',
components: {
"ejs-pdfviewer": PdfViewerComponent
},
data () {
return {
resourceUrl:window.location.origin + "/public/ej2-pdfviewer-lib";
documentPath:"https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
customFonts: ["simsun.ttc", "sumsinb.ttf", "arial/arialbd.ttf", "arial/arial.ttf", "BKANT.TTF", "calibri.ttf", "GARA.TTF", "GARAIT.TTF", "msgothic.ttc", "trebuc.ttf", "wingding.ttf"];
resourceUrl:window.location.origin + "/ej2-pdfviewer-lib",
documentPath:"https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf",
customFonts: ["simsun.ttc", "sumsinb.ttf", "arial/arialbd.ttf", "arial/arial.ttf", "BKANT.TTF", "calibri.ttf", "GARA.TTF", "GARAIT.TTF", "msgothic.ttc", "trebuc.ttf", "wingding.ttf"]
};
},
provide: {
Expand Down
58 changes: 0 additions & 58 deletions How to/Custom Fonts/src/components/HelloWorld.vue

This file was deleted.

8 changes: 2 additions & 6 deletions How to/Custom Fonts/src/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
render: h => h(App),
}).$mount('#app')
createApp(App).mount('#app')

0 comments on commit 360ec00

Please sign in to comment.