diff --git a/benchmarks/dbmon/lib/memory-stats.js b/benchmarks/dbmon/lib/memory-stats.js
index df75fb307fb..dd7fa5ef16b 100644
--- a/benchmarks/dbmon/lib/memory-stats.js
+++ b/benchmarks/dbmon/lib/memory-stats.js
@@ -59,7 +59,7 @@ var MemoryStats = function (){
}
// TODO, add a sanity check to see if values are bucketed.
- // If so, reminde user to adopt the --enable-precise-memory-info flag.
+ // If so, remind user to adopt the --enable-precise-memory-info flag.
// open -a "/Applications/Google Chrome.app" --args --enable-precise-memory-info
var lastTime = Date.now();
diff --git a/examples/svg/svg.js b/examples/svg/svg.js
index c46a5edef8b..f4491ce3088 100644
--- a/examples/svg/svg.js
+++ b/examples/svg/svg.js
@@ -8,7 +8,7 @@ var stats = [
{ label: 'F', value: 100 }
]
-// A resusable polygon graph component
+// A reusable polygon graph component
Vue.component('polygraph', {
props: ['stats'],
template: '#polygraph-template',
diff --git a/src/core/instance/lifecycle.js b/src/core/instance/lifecycle.js
index 2f923c0792d..768e2e2b54a 100644
--- a/src/core/instance/lifecycle.js
+++ b/src/core/instance/lifecycle.js
@@ -229,7 +229,7 @@ export function updateChildComponent (
}
vm.$options._renderChildren = renderChildren
- // update $attrs and $listensers hash
+ // update $attrs and $listeners hash
// these are also reactive so they may trigger child update if the child
// used them during render
vm.$attrs = (parentVnode.data && parentVnode.data.attrs) || emptyObject
diff --git a/src/platforms/web/runtime/modules/style.js b/src/platforms/web/runtime/modules/style.js
index ebb16c38831..29e1c3c1e6e 100644
--- a/src/platforms/web/runtime/modules/style.js
+++ b/src/platforms/web/runtime/modules/style.js
@@ -65,7 +65,7 @@ function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) {
const style = normalizeStyleBinding(vnode.data.style) || {}
// store normalized style under a different key for next diff
- // make sure to clone it if it's reactive, since the user likley wants
+ // make sure to clone it if it's reactive, since the user likely wants
// to mutate it.
vnode.data.normalizedStyle = isDef(style.__ob__)
? extend({}, style)
diff --git a/src/platforms/weex/entry-framework.js b/src/platforms/weex/entry-framework.js
index 303ad36b5f0..90f5f0d81be 100644
--- a/src/platforms/weex/entry-framework.js
+++ b/src/platforms/weex/entry-framework.js
@@ -437,7 +437,7 @@ function callFunction (globalObjects, body) {
* This function helps speed up bundle compiling. Normally, the V8
* engine needs to download, parse, and compile a bundle on every
* visit. If 'compileBundle()' is available on native side,
- * the downloding, parsing, and compiling steps would be skipped.
+ * the downloading, parsing, and compiling steps would be skipped.
* @param {object} globalObjects
* @param {string} body
* @return {boolean}
diff --git a/src/platforms/weex/util/index.js b/src/platforms/weex/util/index.js
index a035be3a191..b74949cdd01 100755
--- a/src/platforms/weex/util/index.js
+++ b/src/platforms/weex/util/index.js
@@ -12,7 +12,7 @@ export const isReservedTag = makeMap(
)
// Elements that you can, intentionally, leave open (and which close themselves)
-// more flexable than web
+// more flexible than web
export const canBeLeftOpenTag = makeMap(
'web,spinner,switch,video,textarea,canvas,' +
'indicator,marquee,countdown',
diff --git a/src/server/template-renderer/index.js b/src/server/template-renderer/index.js
index dc5052d9f4b..ac549b289d2 100644
--- a/src/server/template-renderer/index.js
+++ b/src/server/template-renderer/index.js
@@ -60,7 +60,7 @@ export default class TemplateRenderer {
if (options.clientManifest) {
const clientManifest = this.clientManifest = options.clientManifest
this.publicPath = clientManifest.publicPath.replace(/\/$/, '')
- // preload/prefetch drectives
+ // preload/prefetch directives
this.preloadFiles = clientManifest.initial
this.prefetchFiles = clientManifest.async
// initial async chunk mapping
@@ -242,7 +242,7 @@ function getPreloadType (ext: string): string {
} else if (/woff2?|ttf|otf|eot/.test(ext)) {
return 'font'
} else {
- // not exhausting all possbilities here, but above covers common cases
+ // not exhausting all possibilities here, but above covers common cases
return ''
}
}
diff --git a/test/ssr/compile-with-webpack.js b/test/ssr/compile-with-webpack.js
index 0e8ecc4f78e..765898e966d 100644
--- a/test/ssr/compile-with-webpack.js
+++ b/test/ssr/compile-with-webpack.js
@@ -1,6 +1,6 @@
import path from 'path'
import webpack from 'webpack'
-import MemoeryFS from 'memory-fs'
+import MemoryFS from 'memory-fs'
export function compileWithWebpack (file, extraConfig, cb) {
const config = Object.assign({
@@ -27,7 +27,7 @@ export function compileWithWebpack (file, extraConfig, cb) {
}, extraConfig)
const compiler = webpack(config)
- const fs = new MemoeryFS()
+ const fs = new MemoryFS()
compiler.outputFileSystem = fs
compiler.run((err, stats) => {
diff --git a/test/ssr/ssr-string.spec.js b/test/ssr/ssr-string.spec.js
index 75de1bbaaef..784b39a4bf2 100644
--- a/test/ssr/ssr-string.spec.js
+++ b/test/ssr/ssr-string.spec.js
@@ -805,7 +805,7 @@ describe('SSR: renderToString', () => {
expect(vm.a).toBe(func)
})
- it('should prevent xss in attribtues', done => {
+ it('should prevent xss in attributes', done => {
renderVmWithOptions({
data: {
xss: '">'
diff --git a/test/unit/features/component/component-slot.spec.js b/test/unit/features/component/component-slot.spec.js
index 95a771e286c..22e8b2d9ea2 100644
--- a/test/unit/features/component/component-slot.spec.js
+++ b/test/unit/features/component/component-slot.spec.js
@@ -661,7 +661,7 @@ describe('Component slot', () => {
}).then(done)
})
- // Github issue #5888
+ // GitHub issue #5888
it('should resolve correctly slot with keep-alive', () => {
const vm = new Vue({
template: `
diff --git a/test/unit/features/directives/model-select.spec.js b/test/unit/features/directives/model-select.spec.js
index 629e5a2f440..7c265d25f79 100644
--- a/test/unit/features/directives/model-select.spec.js
+++ b/test/unit/features/directives/model-select.spec.js
@@ -2,7 +2,7 @@ import Vue from 'vue'
import { looseEqual } from 'shared/util'
// Android 4.4 Chrome 30 has the bug that a multi-select option cannot be
-// deseleted by setting its "selected" prop via JavaScript.
+// deselected by setting its "selected" prop via JavaScript.
function hasMultiSelectBug () {
var s = document.createElement('select')
s.setAttribute('multiple', '')
diff --git a/test/unit/features/directives/on.spec.js b/test/unit/features/directives/on.spec.js
index fff8a11d645..f22a47e9ea7 100644
--- a/test/unit/features/directives/on.spec.js
+++ b/test/unit/features/directives/on.spec.js
@@ -497,7 +497,7 @@ describe('Directive v-on', () => {
}).not.toThrow()
})
- // Github Issue #5046
+ // GitHub Issue #5046
it('should support keyboard modifier', () => {
const spyLeft = jasmine.createSpy()
const spyRight = jasmine.createSpy()
@@ -570,7 +570,7 @@ describe('Directive v-on', () => {
})
}
- // Github Issues #5146
+ // GitHub Issues #5146
it('should only prevent when match keycode', () => {
let prevented = false
vm = new Vue({
@@ -652,7 +652,7 @@ describe('Directive v-on', () => {
expect(mouseup.calls.count()).toBe(1)
})
- it('object syntax (usage in HOC, mixed with native listners)', () => {
+ it('object syntax (usage in HOC, mixed with native listeners)', () => {
const click = jasmine.createSpy('click')
const mouseup = jasmine.createSpy('mouseup')
const mousedown = jasmine.createSpy('mousedown')
diff --git a/test/unit/features/global-api/use.spec.js b/test/unit/features/global-api/use.spec.js
index ca8e8f8effc..00053f808a7 100644
--- a/test/unit/features/global-api/use.spec.js
+++ b/test/unit/features/global-api/use.spec.js
@@ -34,7 +34,7 @@ describe('Global API: use', () => {
expect(Ctor.options.directives['plugin-test']).toBe(def)
})
- // Github issue #5970
+ // GitHub issue #5970
it('should work on multi version', () => {
const Ctor1 = Vue.extend({})
const Ctor2 = Vue.extend({})
diff --git a/test/unit/features/instance/methods-data.spec.js b/test/unit/features/instance/methods-data.spec.js
index 49e9b6f5009..8684c69eb3a 100644
--- a/test/unit/features/instance/methods-data.spec.js
+++ b/test/unit/features/instance/methods-data.spec.js
@@ -108,7 +108,7 @@ describe('Instance methods data', () => {
expect(spy).toHaveBeenCalledWith(1)
})
- it('warn expresssion', () => {
+ it('warn expression', () => {
vm.$watch('a + b', spy)
expect('Watcher only accepts simple dot-delimited paths').toHaveBeenWarned()
})
diff --git a/test/unit/features/options/inject.spec.js b/test/unit/features/options/inject.spec.js
index 61111a7d431..3641a56f61c 100644
--- a/test/unit/features/options/inject.spec.js
+++ b/test/unit/features/options/inject.spec.js
@@ -145,7 +145,7 @@ describe('Options provide/inject', () => {
expect(child.baz).toBe(3)
})
- // Github issue #5194
+ // GitHub issue #5194
it('should work with functional', () => {
new Vue({
template: `