Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment improvement #2790

Merged
merged 1 commit into from
May 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/directives/internal/prop.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// NOTE: the prop internal directive is compiled and linked
// during _initScope(), before the created hook is called.
// during _initProps(), before the created hook is called.
// The purpose is to make the initial prop values available
// inside `created` hooks and `data` functions.

Expand Down
2 changes: 1 addition & 1 deletion src/instance/internal/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function (Vue) {
this._updateRef()

// initialize data as empty object.
// it will be filled up in _initScope().
// it will be filled up in _initData().
this._data = {}

// call init hook
Expand Down