Browse Source

fix typos (#12348)

dev
180909 3 years ago
committed by GitHub
parent
commit
93bd4406ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/weex-vue-framework/index.js
  2. 2
      src/platforms/weex/entry-framework.js
  3. 2
      test/unit/features/component/component-async.spec.js
  4. 2
      test/unit/features/directives/on.spec.js

2
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

2
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

2
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 = {};

2
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>',

Loading…
Cancel
Save