Permalink
Browse files

build: ship pre-minified versions of CommonJS build and server renderer

  • Loading branch information...
yyx990803 committed Dec 5, 2018
1 parent 38e967b commit 17296aa6bbbe9f1242bca01381d3a936a569ab7f
@@ -1,6 +1,6 @@
'use strict'

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

self.performance = {
now: function () {
@@ -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">' +
Oops, something went wrong.

0 comments on commit 17296aa

Please sign in to comment.