diff --git a/buble b/buble index 3480e37..f5996c9 160000 --- a/buble +++ b/buble @@ -1 +1 @@ -Subproject commit 3480e37f43e528201d67e8f93c832303420fe1e2 +Subproject commit f5996c9cdb2e61cb7dddf0f6c6f25d0f3f600055 diff --git a/test.js b/test.js index 6f2e558..4caaf8c 100644 --- a/test.js +++ b/test.js @@ -87,3 +87,14 @@ test('trailing function comma', () => { vm.$el.click() expect(spy).toHaveBeenCalled() }) + +test('v-model code', () => { + const vm = new Vue({ + ...compileAsFunctions(` + + `), + data: { + text: 'foo' + } + }).$mount() +})