From baa85cf7f2e5efe4d9d4abf89ba747381ea8feae Mon Sep 17 00:00:00 2001 From: Johnathon Sanders Date: Sun, 31 Aug 2014 05:10:18 -0500 Subject: [PATCH] spelling fix --- source/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/api/index.md b/source/api/index.md index 2b8f130a50..ada78d7052 100644 --- a/source/api/index.md +++ b/source/api/index.md @@ -9,7 +9,7 @@ The `Vue` Class is the core of Vue.js. It is a constructor that allows you to cr var vm = new Vue({ /* options */ }) ``` -When you instantiate a ViewModel instance, it compiles the DOM element it is assigned to and creates data bindings that keep the DOM and the data in sync. It takes an option object that can include options about the DOM element, data object, mixin methods, lifecycle callbacks and more. See the full list of [Instantitation Options](/api/instantiation-options.html). +When you instantiate a ViewModel instance, it compiles the DOM element it is assigned to and creates data bindings that keep the DOM and the data in sync. It takes an option object that can include options about the DOM element, data object, mixin methods, lifecycle callbacks and more. See the full list of [Instantiation Options](/api/instantiation-options.html). During the compilation phase, Vue.js walks through the DOM and compiles the directives it runs into. Once compiled, these DOM nodes are now said to be managed by the ViewModel. A DOM node can only be managed by one ViewModel, and once compiled, it should not be compiled again because the original binding information would have been lost. For templates, Vue.js caches them as un-compiled DocumentFragments and simply does `cloneNode(true)` when reusing them, which is highly efficient. @@ -21,4 +21,4 @@ It's also worth noting that data objects do not necessarily belong to a single V Each ViewModel instance also has a number of [Instance Methods](/api/instance-methods.html) which cover data observation, event communication and DOM manipulation. -Finally, the `Vue` constructor itself also holds several [Global Methods](/api/global-methods.html), which allow you to extend the `Vue` class, configure global settings and register global custom assets such as components, directives, filters and more. \ No newline at end of file +Finally, the `Vue` constructor itself also holds several [Global Methods](/api/global-methods.html), which allow you to extend the `Vue` class, configure global settings and register global custom assets such as components, directives, filters and more.