فهرست منبع

fix linting issues

Evan You 10 سال پیش
والد
کامیت
cb915d0120
3فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 1 1
      src/core/instance/render.js
  2. 1 1
      test/unit/features/directives/bind.spec.js
  3. 0 1
      test/unit/features/directives/style.spec.js

+ 1 - 1
src/core/instance/render.js

@@ -4,7 +4,7 @@ import config from '../config'
 import VNode, { emptyVNode } from '../vdom/vnode'
 import { normalizeChildren } from '../vdom/helpers'
 import {
-  warn, bind, remove, extend, isObject, toObject,
+  warn, bind, remove, isObject, toObject,
   nextTick, resolveAsset, renderString
 } from '../util/index'
 

+ 1 - 1
test/unit/features/directives/bind.spec.js

@@ -155,7 +155,7 @@ describe('Directive v-bind', () => {
   })
 
   it('warn expect object', () => {
-    const vm = new Vue({
+    new Vue({
       template: '<input v-bind="test">',
       data: {
         test: 1

+ 0 - 1
test/unit/features/directives/style.spec.js

@@ -1,5 +1,4 @@
 import Vue from 'vue'
-import { extend } from 'shared/util'
 
 function checkPrefixedProp (prop) {
   var el = document.createElement('div')