File tree Expand file tree Collapse file tree 1 file changed +22
-19
lines changed Expand file tree Collapse file tree 1 file changed +22
-19
lines changed Original file line number Diff line number Diff line change @@ -141,15 +141,16 @@ describe('vue-codemirror', () => {
141
141
const eventLogs = [ ]
142
142
const vm = new Vue ( {
143
143
template : `<div>
144
- <codemirror ref="cm"
145
- :value="code"
146
- :options="{ mode: 'text/javascript' }"
147
- @blur="onCmBlur"
148
- @focus="onCmFocus"
149
- @ready="onCmReady"
150
- @change="onCmChange"
151
- @input="onCmInput">
152
- </codemirror>
144
+ <codemirror
145
+ ref="cm"
146
+ :value="code"
147
+ :options="{ mode: 'text/javascript' }"
148
+ @blur="onCmBlur"
149
+ @focus="onCmFocus"
150
+ @ready="onCmReady"
151
+ @change="onCmChange"
152
+ @input="onCmInput"
153
+ />
153
154
</div>
154
155
` ,
155
156
data : {
@@ -203,11 +204,12 @@ describe('vue-codemirror', () => {
203
204
const vm = new Vue ( {
204
205
template : `
205
206
<div>
206
- <codemirror ref="cm"
207
- v-model="code"
208
- :events="events"
209
- @custom="onCustom">
210
- </codemirror>
207
+ <codemirror
208
+ ref="cm"
209
+ v-model="code"
210
+ :events="events"
211
+ @custom="onCustom"
212
+ />
211
213
</div>
212
214
` ,
213
215
data : {
@@ -242,11 +244,12 @@ describe('vue-codemirror', () => {
242
244
const eventLogs = [ ]
243
245
const vm = new Vue ( {
244
246
template : `<div>
245
- <vue-codemirror ref="cm"
246
- v-model="code"
247
- :options="cmOption"
248
- @ready="onCmReady">
249
- </vue-codemirror>
247
+ <vue-codemirror
248
+ ref="cm"
249
+ v-model="code"
250
+ :options="cmOption"
251
+ @ready="onCmReady"
252
+ />
250
253
</div>
251
254
` ,
252
255
components : {
You can’t perform that action at this time.
0 commit comments