File tree Expand file tree Collapse file tree 8 files changed +57
-0
lines changed
javascript/ql/test/library-tests/frameworks/Vue Expand file tree Collapse file tree 8 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1
1
| single-component-file-1.vue:0:0:0:0 | single-component-file-1.vue |
2
2
| single-file-component-2.vue:0:0:0:0 | single-file-component-2.vue |
3
3
| single-file-component-3.vue:0:0:0:0 | single-file-component-3.vue |
4
+ | single-file-component-4.vue:0:0:0:0 | single-file-component-4.vue |
5
+ | single-file-component-5.vue:0:0:0:0 | single-file-component-5.vue |
4
6
| tst.js:3:1:10:2 | new Vue ... 2\\n\\t}\\n}) |
5
7
| tst.js:12:1:16:2 | new Vue ... \\t}),\\n}) |
6
8
| tst.js:18:1:27:2 | Vue.com ... }\\n\\t}\\n}) |
Original file line number Diff line number Diff line change 1
1
| single-component-file-1.vue:0:0:0:0 | single-component-file-1.vue | dataA | single-component-file-1.vue:6:40:6:41 | 42 |
2
2
| single-file-component-3.vue:0:0:0:0 | single-file-component-3.vue | dataA | single-file-component-3-script.js:4:37:4:38 | 42 |
3
+ | single-file-component-4.vue:0:0:0:0 | single-file-component-4.vue | dataA | single-file-component-4.vue:15:14:15:15 | 42 |
4
+ | single-file-component-4.vue:0:0:0:0 | single-file-component-4.vue | message | single-file-component-4.vue:12:23:12:30 | 'Hello!' |
5
+ | single-file-component-5.vue:0:0:0:0 | single-file-component-5.vue | dataA | single-file-component-5.vue:13:14:13:15 | 42 |
6
+ | single-file-component-5.vue:0:0:0:0 | single-file-component-5.vue | message | single-file-component-5.vue:10:23:10:30 | 'Hello!' |
3
7
| tst.js:3:1:10:2 | new Vue ... 2\\n\\t}\\n}) | dataA | tst.js:8:10:8:11 | 42 |
4
8
| tst.js:12:1:16:2 | new Vue ... \\t}),\\n}) | dataA | tst.js:14:10:14:11 | 42 |
5
9
| tst.js:18:1:27:2 | Vue.com ... }\\n\\t}\\n}) | dataA | tst.js:20:10:20:11 | 42 |
Original file line number Diff line number Diff line change 1
1
| single-component-file-1.vue:0:0:0:0 | single-component-file-1.vue | data | single-component-file-1.vue:6:11:6:45 | functio ... 42 } } |
2
2
| single-file-component-3.vue:0:0:0:0 | single-file-component-3.vue | data | single-file-component-3-script.js:4:8:4:42 | functio ... 42 } } |
3
+ | single-file-component-4.vue:0:0:0:0 | single-file-component-4.vue | render | single-file-component-4.vue:9:13:9:22 | (h) => { } |
3
4
| tst.js:3:1:10:2 | new Vue ... 2\\n\\t}\\n}) | data | tst.js:7:8:9:2 | {\\n\\t\\tdataA: 42\\n\\t} |
4
5
| tst.js:3:1:10:2 | new Vue ... 2\\n\\t}\\n}) | render | tst.js:4:10:6:2 | functio ... c);\\n\\t} |
5
6
| tst.js:12:1:16:2 | new Vue ... \\t}),\\n}) | data | tst.js:13:8:15:3 | () => ( ... 42\\n\\t}) |
Original file line number Diff line number Diff line change 10
10
| single-file-component-3.vue:2:5:7:8 | <p>...</> |
11
11
| single-file-component-3.vue:4:1:5:9 | <script>...</> |
12
12
| single-file-component-3.vue:6:1:7:8 | <style>...</> |
13
+ | single-file-component-4.vue:1:1:3:11 | <template>...</> |
14
+ | single-file-component-4.vue:2:5:20:9 | <p>...</> |
15
+ | single-file-component-4.vue:4:1:18:9 | <script>...</> |
16
+ | single-file-component-4.vue:19:1:20:8 | <style>...</> |
17
+ | single-file-component-5.vue:1:1:3:11 | <template>...</> |
18
+ | single-file-component-5.vue:2:5:18:9 | <p>...</> |
19
+ | single-file-component-5.vue:4:1:16:9 | <script>...</> |
20
+ | single-file-component-5.vue:17:1:18:8 | <style>...</> |
Original file line number Diff line number Diff line change 1
1
| single-component-file-1.vue:6:40:6:41 | 42 | single-component-file-1.vue:6:40:6:41 | 42 | single-component-file-1.vue:2:8:2:21 | v-html=dataA |
2
2
| single-file-component-3-script.js:4:37:4:38 | 42 | single-file-component-3-script.js:4:37:4:38 | 42 | single-file-component-3.vue:2:8:2:21 | v-html=dataA |
3
+ | single-file-component-4.vue:15:14:15:15 | 42 | single-file-component-4.vue:15:14:15:15 | 42 | single-file-component-4.vue:2:8:2:21 | v-html=dataA |
4
+ | single-file-component-5.vue:13:14:13:15 | 42 | single-file-component-5.vue:13:14:13:15 | 42 | single-file-component-5.vue:2:8:2:21 | v-html=dataA |
Original file line number Diff line number Diff line change 1
1
| single-component-file-1.vue:2:8:2:21 | v-html=dataA |
2
2
| single-file-component-2.vue:2:8:2:21 | v-html=dataA |
3
3
| single-file-component-3.vue:2:8:2:21 | v-html=dataA |
4
+ | single-file-component-4.vue:2:8:2:21 | v-html=dataA |
5
+ | single-file-component-5.vue:2:8:2:21 | v-html=dataA |
4
6
| tst.js:5:13:5:13 | a |
5
7
| tst.js:38:12:38:17 | danger |
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <p v-html =" dataA" />
3
+ </template >
4
+ <script >
5
+ import Vue from ' vue'
6
+ import Component from ' vue-class-component'
7
+
8
+ @Component ({
9
+ render : (h ) => { }
10
+ })
11
+ export default class MyComponent extends Vue {
12
+ message: string = ' Hello!'
13
+
14
+ get dataA () {
15
+ return 42 ;
16
+ }
17
+ }
18
+ </script >
19
+ <style >
20
+ </style >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <p v-html =" dataA" />
3
+ </template >
4
+ <script >
5
+ import Vue from ' vue'
6
+ import Component from ' vue-class-component'
7
+
8
+ @Component
9
+ export default class MyComponent extends Vue {
10
+ message: string = ' Hello!'
11
+
12
+ get dataA () {
13
+ return 42 ;
14
+ }
15
+ }
16
+ </script >
17
+ <style >
18
+ </style >
You can’t perform that action at this time.
0 commit comments