Skip to content

Commit aa109b1

Browse files
author
Evan You
committed
interpolate title
1 parent f4568cf commit aa109b1

19 files changed

+42
-9
lines changed

source/api/directives.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 6
44
---
55

6+
# {{title}}
7+
68
### v-text
79
### v-html
810
### v-show

source/api/filters.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 7
44
---
55

6+
# {{title}}
7+
68
### capitalize
79
### uppercase
810
### lowercase

source/api/global-methods.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 5
44
---
55

6+
# {{title}}
7+
68
### Vue.extend( options )
79

810
### Vue.config( options )

source/api/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 1
44
---
55

6+
# {{title}}
7+
68
The `Vue` Class is the core of vue.js - in fact, it is everything that vue.js offers. It is a constructor that allows you to create ViewModel instances. It can be subclassed with its `extend()` method and it also holds several other global utility methods. Creating a ViewModel instance is straightforward:
79

810
``` js

source/api/instance-methods.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 4
44
---
55

6+
# {{title}}
7+
68
## Data Changes
79

810
### vm.$watch( keypath, callback )

source/api/instance-properties.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 3
44
---
55

6+
# {{title}}
7+
68
### vm.$el
79

810
- **Type:** `HTMLElement`

source/api/instantiation-options.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: api
33
order: 2
44
---
55

6+
# {{title}}
7+
68
## Data & Logic
79

810
### data

source/examples/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
title: Examples
22
---
33

4+
# {{title}}
5+
46
- **[TodoMVC Implementation](todomvc/)**
57
A fully specification-compliant TodoMVC implementation in ~110 SLOC. [\[Source\]][1]
68

source/guide/composition.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Composing ViewModels
22
type: guide
33
order: 5
4-
---
4+
---
5+
6+
# {{title}}

source/guide/custom-directive.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Writing Custom Directives
22
type: guide
33
order: 3
4-
---
4+
---
5+
6+
# {{title}}

source/guide/custom-filter.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Writing Custom Filters
22
type: guide
33
order: 4
4-
---
4+
---
5+
6+
# {{title}}

source/guide/form-validation.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Form Validation
22
type: guide
33
order: 7
4-
---
4+
---
5+
6+
# {{title}}

source/guide/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: guide
33
order: 2
44
---
55

6+
# {{title}}
7+
68
## Introduction
79

810
Vue.js is a library that aims to simplify the development of interactive interfaces.

source/guide/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ type: guide
33
order: 1
44
---
55

6+
# {{title}}
7+
68
## Standalone
79

810
Simply download and include with a script tag:
@@ -47,4 +49,4 @@ e.g. RequireJS, SeaJS: Built versions in `/dist` or installed via Bower is wrapp
4749
4850
## Ready?
4951
50-
[Let's Get Started](/guide/getting-started.html#page-h1).
52+
[Let's Get Started](/guide/getting-started.html).

source/guide/routing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Routing
22
type: guide
33
order: 8
4-
---
4+
---
5+
6+
# {{title}}

source/guide/transitions.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
title: Using Transition Effects
22
type: guide
33
order: 6
4-
---
4+
---
5+
6+
# {{title}}

source/perf/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
title: Performance Comparisons
22
---
33

4+
# {{title}}
5+
46
## TodoMVC Benchmark
57

68
This is a benchmark found in the [webkit performance tests](https://github.com/WebKit/webkit/tree/master/PerformanceTests/DoYouEvenBench) based on the [TodoMVC](http://todomvc.com/) project. For each framework implementation, add 100 todos, toggle them one by one, then delete them one by one. In addition to the most popular MV* libraries, I also included [Om](https://github.com/swannodette/om) (a ClojureScript interface on top of React which boasts of performance) and [Ractive](http://www.ractivejs.org/) (very similar in terms of use case and API).

themes/vue/layout/page.ejs

-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<%- partial('partials/sidebar', { type: page.type, index: page.index }) %>
33
<% } %>
44
<div class="content<%- page.type ? ' with-sidebar' : '' %>">
5-
<h1 id="page-h1"><%- page.title %></h1>
65
<%- page.content %>
76
</div>

themes/vue/layout/partials/landing.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>Under Construction</h1>
33
<p>Vue.js is still under development so the API might change.</p>
44
<p>
5-
<a href="/guide/#page-h1" class="button">Get Vue.js v0.7.3</a>
5+
<a href="/guide/#Installation" class="button">Get Vue.js v0.7.3</a>
66
<a href="https://github.com/yyx990803/vue" target="_blank" class="button">Source on GitHub</a>
77
</p>
88
</div>

0 commit comments

Comments
 (0)