180909 преди 4 години
родител
ревизия
93bd4406ac

+ 1 - 1
packages/weex-vue-framework/index.js

@@ -28,7 +28,7 @@ function createInstanceContext (
     data: data
   };
 
-  // Each instance has a independent `Vue` module instance
+  // Each instance has an independent `Vue` module instance
   var Vue = instance.Vue = createVueModuleInstance(instanceId, weex);
 
   // DEPRECATED

+ 1 - 1
src/platforms/weex/entry-framework.js

@@ -22,7 +22,7 @@ export function createInstanceContext (
     data
   }
 
-  // Each instance has a independent `Vue` module instance
+  // Each instance has an independent `Vue` module instance
   const Vue = instance.Vue = createVueModuleInstance(instanceId, weex)
 
   // DEPRECATED

+ 1 - 1
test/unit/features/component/component-async.spec.js

@@ -7,7 +7,7 @@ describe('Component async', () => {
   const oldClearTimeout = window.clearTimeout;
 
   // will contain pending timeouts set during the test iteration
-  // will contain the id of the timeout as the key, and the the millisecond timeout as the value
+  // will contain the id of the timeout as the key, and the millisecond timeout as the value
   // this helps to identify the timeout that is still pending
   let timeoutsPending = {};
 

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

@@ -31,7 +31,7 @@ describe('Directive v-on', () => {
     expect(event.type).toBe('click')
   })
 
-  it('should bind event to a inline statement', () => {
+  it('should bind event to an inline statement', () => {
     vm = new Vue({
       el,
       template: '<div v-on:click="foo(1,2,3,$event)"></div>',