diff --git a/source/api/directives.md b/source/api/directives.md index 78f66c2b54..2acf7d0f5f 100644 --- a/source/api/directives.md +++ b/source/api/directives.md @@ -65,7 +65,7 @@ Apply inline CSS styles to the element. When there is no argument, Vue.js will use the value to set `el.style.cssText`. -When there is an argument, it will be used as the CSS property to apply. Combined with multiple clause you can set multiple properties together: +When there is an argument, it will be used as the CSS property to apply. Combined with multiple clauses you can set multiple properties together: **Example:** @@ -108,7 +108,7 @@ Conditionally insert / remove the element based on the truthy-ness of the bindin ### v-repeat - This directive creates child ViewModels. -- This directive requires the value to be an Array. +- This directive requires the value to be an Array or Object. - This directive can trigger transitions. - This directive accepts an optional argument. @@ -171,7 +171,7 @@ Example inheriting an object: ``` -Example inehriting individual properties (using the same data): +Example inheriting individual properties (using the same data): ```
@@ -182,7 +182,7 @@ Example inehriting individual properties (using the same data): ## Literal Directives -> Literal directives treat their attribute value as a plain string; they do not attempt to bind themselves to anything. All they do is executing the `bind()` function with the string value once. Literal directives accept mustache expressions inside their value, but these expressions will be evaludated only once on first compile and do not react to data changes. +> Literal directives treat their attribute value as a plain string; they do not attempt to bind themselves to anything. All they do is executing the `bind()` function with the string value once. Literal directives accept mustache expressions inside their value, but these expressions will be evaluated only once on first compile and do not react to data changes. ### v-component @@ -212,7 +212,7 @@ For details, see [the guide](/guide/transitions.html#JavaScript_Functions). ### v-transition -Notify Vue.js to apply transition CSS classes to this element. The transition classes are applied when certain transition-triggering directives modifies the element, or when the ViewModel's DOM manipulation methods are called. +Notify Vue.js to apply transition CSS classes to this element. The transition classes are applied when certain transition-triggering directives modify the element, or when the ViewModel's DOM manipulation methods are called. For details, see [the guide](/guide/transitions.html#Css_Transitions). @@ -224,7 +224,7 @@ For details, see [the guide](/guide/transitions.html#Css_Animations). ### v-pre -Skip compilation for this element and all its children. Skipping large amount of nodes with no directives on them can speed up compilation. +Skip compilation for this element and all its children. Skipping large numbers of nodes with no directives on them can speed up compilation. ### v-cloak diff --git a/source/api/filters.md b/source/api/filters.md index 85cbdf80fc..a79964ea05 100644 --- a/source/api/filters.md +++ b/source/api/filters.md @@ -114,7 +114,7 @@ Finally, you can use quotes to indicate literal arguments: - this filter only works in `v-repeat` - this is a computed filter -Sort `v-repeat`'s displayed result. The `sorKey` argument is a property key on the context ViewModel. The value of that property will be used as the key to sort the Array items with. The optional `reverseKey` argument is also a property key on the context ViewModel, but the value's truthiness will determine whether the result should be reversed. +Sort `v-repeat`'s displayed result. The `sortKey` argument is a property key on the context ViewModel. The value of that property will be used as the key to sort the Array items with. The optional `reverseKey` argument is also a property key on the context ViewModel, but the value's truthiness will determine whether the result should be reversed. ``` html