Skip to content

Commit

Permalink
build: ship pre-minified versions of CommonJS build and server renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 12, 2018
1 parent 38e967b commit 17296aa
Show file tree
Hide file tree
Showing 9 changed files with 111 additions and 19,302 deletions.
6 changes: 3 additions & 3 deletions benchmarks/ssr/common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

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

self.performance = {
now: function () {
Expand Down Expand Up @@ -35,11 +35,11 @@ module.exports = {
}
},
// template: '<table><tr v-for="row in grid"><th>123</th><td v-for="item in row.items">{{ item.id }}</td></tr></table>',
template: '<table width="100%" cellspacing="2"><row v-for="row in grid" :row="row"></row></table>',
template: '<table width="100%" cellspacing="2"><row v-for="row in grid" :key="row.id" :row="row"></row></table>',
components: {
row: {
props: ['row'],
template: '<tr><th>{{ Math.random() }}</th><column v-for="item in row.items"></column></tr>',
template: '<tr><th>{{ Math.random() }}</th><column v-for="item in row.items" :key="item.id"></column></tr>',
components: {
column: {
template: '<td class="item">' +
Expand Down
Loading

0 comments on commit 17296aa

Please sign in to comment.