Skip to content

Commit f477ecd

Browse files
jsorefyyx990803
authored andcommitted
chore: spelling (#6535)
1 parent 0f00f8f commit f477ecd

File tree

20 files changed

+27
-27
lines changed

20 files changed

+27
-27
lines changed

benchmarks/dbmon/lib/memory-stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var MemoryStats = function (){
5959
}
6060

6161
// TODO, add a sanity check to see if values are bucketed.
62-
// If so, reminde user to adopt the --enable-precise-memory-info flag.
62+
// If so, remind user to adopt the --enable-precise-memory-info flag.
6363
// open -a "/Applications/Google Chrome.app" --args --enable-precise-memory-info
6464

6565
var lastTime = Date.now();

examples/svg/svg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var stats = [
88
{ label: 'F', value: 100 }
99
]
1010

11-
// A resusable polygon graph component
11+
// A reusable polygon graph component
1212
Vue.component('polygraph', {
1313
props: ['stats'],
1414
template: '#polygraph-template',

src/core/instance/lifecycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export function updateChildComponent (
229229
}
230230
vm.$options._renderChildren = renderChildren
231231

232-
// update $attrs and $listensers hash
232+
// update $attrs and $listeners hash
233233
// these are also reactive so they may trigger child update if the child
234234
// used them during render
235235
vm.$attrs = (parentVnode.data && parentVnode.data.attrs) || emptyObject

src/platforms/web/runtime/modules/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) {
6565
const style = normalizeStyleBinding(vnode.data.style) || {}
6666

6767
// store normalized style under a different key for next diff
68-
// make sure to clone it if it's reactive, since the user likley wants
68+
// make sure to clone it if it's reactive, since the user likely wants
6969
// to mutate it.
7070
vnode.data.normalizedStyle = isDef(style.__ob__)
7171
? extend({}, style)

src/platforms/weex/entry-framework.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ function callFunction (globalObjects, body) {
437437
* This function helps speed up bundle compiling. Normally, the V8
438438
* engine needs to download, parse, and compile a bundle on every
439439
* visit. If 'compileBundle()' is available on native side,
440-
* the downloding, parsing, and compiling steps would be skipped.
440+
* the downloading, parsing, and compiling steps would be skipped.
441441
* @param {object} globalObjects
442442
* @param {string} body
443443
* @return {boolean}

src/platforms/weex/util/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const isReservedTag = makeMap(
1212
)
1313

1414
// Elements that you can, intentionally, leave open (and which close themselves)
15-
// more flexable than web
15+
// more flexible than web
1616
export const canBeLeftOpenTag = makeMap(
1717
'web,spinner,switch,video,textarea,canvas,' +
1818
'indicator,marquee,countdown',

src/server/template-renderer/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class TemplateRenderer {
6060
if (options.clientManifest) {
6161
const clientManifest = this.clientManifest = options.clientManifest
6262
this.publicPath = clientManifest.publicPath.replace(/\/$/, '')
63-
// preload/prefetch drectives
63+
// preload/prefetch directives
6464
this.preloadFiles = clientManifest.initial
6565
this.prefetchFiles = clientManifest.async
6666
// initial async chunk mapping
@@ -242,7 +242,7 @@ function getPreloadType (ext: string): string {
242242
} else if (/woff2?|ttf|otf|eot/.test(ext)) {
243243
return 'font'
244244
} else {
245-
// not exhausting all possbilities here, but above covers common cases
245+
// not exhausting all possibilities here, but above covers common cases
246246
return ''
247247
}
248248
}

test/ssr/compile-with-webpack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from 'path'
22
import webpack from 'webpack'
3-
import MemoeryFS from 'memory-fs'
3+
import MemoryFS from 'memory-fs'
44

55
export function compileWithWebpack (file, extraConfig, cb) {
66
const config = Object.assign({
@@ -27,7 +27,7 @@ export function compileWithWebpack (file, extraConfig, cb) {
2727
}, extraConfig)
2828

2929
const compiler = webpack(config)
30-
const fs = new MemoeryFS()
30+
const fs = new MemoryFS()
3131
compiler.outputFileSystem = fs
3232

3333
compiler.run((err, stats) => {

test/ssr/ssr-string.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ describe('SSR: renderToString', () => {
805805
expect(vm.a).toBe(func)
806806
})
807807

808-
it('should prevent xss in attribtues', done => {
808+
it('should prevent xss in attributes', done => {
809809
renderVmWithOptions({
810810
data: {
811811
xss: '"><script>alert(1)</script>'

test/unit/features/component/component-slot.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ describe('Component slot', () => {
661661
}).then(done)
662662
})
663663

664-
// Github issue #5888
664+
// GitHub issue #5888
665665
it('should resolve correctly slot with keep-alive', () => {
666666
const vm = new Vue({
667667
template: `

0 commit comments

Comments
 (0)