Skip to content

Commit 17296aa

Browse files
committed
build: ship pre-minified versions of CommonJS build and server renderer
1 parent 38e967b commit 17296aa

File tree

9 files changed

+111
-19302
lines changed

9 files changed

+111
-19302
lines changed

benchmarks/ssr/common.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const self = (global || root)
3+
const self = (global || root) // eslint-disable-line
44

55
self.performance = {
66
now: function () {
@@ -35,11 +35,11 @@ module.exports = {
3535
}
3636
},
3737
// template: '<table><tr v-for="row in grid"><th>123</th><td v-for="item in row.items">{{ item.id }}</td></tr></table>',
38-
template: '<table width="100%" cellspacing="2"><row v-for="row in grid" :row="row"></row></table>',
38+
template: '<table width="100%" cellspacing="2"><row v-for="row in grid" :key="row.id" :row="row"></row></table>',
3939
components: {
4040
row: {
4141
props: ['row'],
42-
template: '<tr><th>{{ Math.random() }}</th><column v-for="item in row.items"></column></tr>',
42+
template: '<tr><th>{{ Math.random() }}</th><column v-for="item in row.items" :key="item.id"></column></tr>',
4343
components: {
4444
column: {
4545
template: '<td class="item">' +

0 commit comments

Comments
 (0)