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 5, 2018
1 parent 93850f4 commit 1bd7c3c
Show file tree
Hide file tree
Showing 14 changed files with 117 additions and 19,312 deletions.
6 changes: 3 additions & 3 deletions benchmarks/ssr/common.js
@@ -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

0 comments on commit 1bd7c3c

Please sign in to comment.