Skip to content

Commit

Permalink
chore: comment typos (#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskingQuestions authored and posva committed Dec 23, 2019
1 parent cf00a45 commit 74febfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -185,7 +185,7 @@ var component = normalizer(
// from the devtools.
code += `\ncomponent.options.__file = ${JSON.stringify(rawShortFilePath.replace(/\\/g, '/'))}`
} else if (options.exposeFilename) {
// Libraies can opt-in to expose their components' filenames in production builds.
// Libraries can opt-in to expose their components' filenames in production builds.
// For security reasons, only expose the file's basename in production.
code += `\ncomponent.options.__file = ${JSON.stringify(filename)}`
}
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime/componentNormalizer.js
Expand Up @@ -71,7 +71,7 @@ export default function normalizeComponent (
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
// register for functional component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
Expand Down

0 comments on commit 74febfc

Please sign in to comment.