From 93bd4406ac4b07339a9c623f7e4ceaa11bfdbf40 Mon Sep 17 00:00:00 2001 From: 180909 Date: Sun, 7 Nov 2021 06:43:57 +0800 Subject: [PATCH] fix typos (#12348) --- packages/weex-vue-framework/index.js | 2 +- src/platforms/weex/entry-framework.js | 2 +- test/unit/features/component/component-async.spec.js | 2 +- test/unit/features/directives/on.spec.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/weex-vue-framework/index.js b/packages/weex-vue-framework/index.js index 487c97be..8fab9f53 100644 --- a/packages/weex-vue-framework/index.js +++ b/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 diff --git a/src/platforms/weex/entry-framework.js b/src/platforms/weex/entry-framework.js index a23775d4..60c43373 100644 --- a/src/platforms/weex/entry-framework.js +++ b/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 diff --git a/test/unit/features/component/component-async.spec.js b/test/unit/features/component/component-async.spec.js index 1e492f7f..8ce085de 100644 --- a/test/unit/features/component/component-async.spec.js +++ b/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 = {}; diff --git a/test/unit/features/directives/on.spec.js b/test/unit/features/directives/on.spec.js index df9ab8db..353d3df5 100644 --- a/test/unit/features/directives/on.spec.js +++ b/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: '
',