Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: https://github.com/QingWei-Li/vuep/issues/31 #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __test__/playground.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('playground', () => {
propsData: {
template: '#app'
}
})).toThrowError('#app is not found')
}).$mount()).toThrowError('#app is not found')
})

it('work', () => {
Expand Down
5 changes: 4 additions & 1 deletion dist/vuep.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,11 @@ var Vuep$2 = {
},

created: function created () {
/* istanbul ignore next */
/* istanbul ignore next */
if (this.$isServer) { return }
},

mounted: function mounted () {
var content = this.template;

if (/^[\.#]/.test(this.template)) {
Expand Down
5 changes: 4 additions & 1 deletion dist/vuep.js
Original file line number Diff line number Diff line change
Expand Up @@ -9573,8 +9573,11 @@ var Vuep$1 = {
},

created: function created () {
/* istanbul ignore next */
/* istanbul ignore next */
if (this.$isServer) { return }
},

mounted: function mounted () {
var content = this.template;

if (/^[\.#]/.test(this.template)) {
Expand Down
2 changes: 1 addition & 1 deletion dist/vuep.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/components/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ export default {
},

created () {
/* istanbul ignore next */
/* istanbul ignore next */
if (this.$isServer) return
},

mounted () {
let content = this.template

if (/^[\.#]/.test(this.template)) {
Expand Down