doc: fix js demo syntax error

This commit is contained in:
detailyang
2017-08-31 23:38:14 +08:00
committed by GitHub
parent f61e6afac2
commit f80a08ab05

View File

@@ -109,7 +109,7 @@ this.$modal.show('dialog', {
title: 'Alert!',
text: 'You are too awesome',
buttons: [
{ title: 'Deal with it', handler: () => { alert('Woot!') },
{ title: 'Deal with it', handler: () => { alert('Woot!') } },
{ title: 'Close' }
]
})