Skip to content

Commit 8eee5cf

Browse files
committed
0.11 examples
1 parent 01e8c19 commit 8eee5cf

File tree

23 files changed

+1851
-31
lines changed

23 files changed

+1851
-31
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ all: update
22
rm -f db.json
33
hexo generate
44
cp -R ../vue/test/unit public
5+
cp -R ./todomvc public/examples
56

67
deploy: all
78
hexo deploy

source/examples/boilerplate.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

source/examples/commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 1
55

66
> This example fetches latest Vue.js commits data from GitHub's API and displays them as a list. You can switch between the master and dev branches.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/KupQL/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/wd64qs6f/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/firebase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 2
55

66
> This example uses [Firebase](https://www.firebase.com/) as the data persistence backend and syncs between clients in real time (you can try opening it in multiple browser tabs). In addition, it performs instant validation using Vue.js filters and triggers CSS transitions when adding/removing items.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/2EN3Z/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/2ok0hp6c/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/grid-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 3
55

66
> This is an example of creating a reusable grid component and using it with external data.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/mGyQN/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/2kqzhhq4/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/image-slider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 6
55

66
> This example mainly showcases the spec-compliant &lt;content/&gt; insertion points implementation.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/zFK6b/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/qnbmymfm/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 0
55

66
> Dead simple Markdown editor.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/u6UbY/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/wy2qf6yx/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/svg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 5
55

66
> This example showcases a combination of custom component, computed property, two-way binding and SVG support.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/8FRDq/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/36ew1g5c/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/examples/todomvc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ type: examples
33
order: 7
44
---
55

6-
<iframe width="100%" height="500" src="/perf/todomvc-benchmark/todomvc/vue/index.html" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
6+
<iframe width="100%" height="500" src="todomvc/index.html" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
77

8-
> This is a fully spec-compliant TodoMVC implementation in under 120 effective lines of JavaScript (excluding comments and blank lines). It is also [one of the fastest implementations](/perf/).
8+
> This is a fully spec-compliant TodoMVC implementation in under 120 effective lines of JavaScript (excluding comments and blank lines).
99
1010
> [[Source](https://github.com/yyx990803/vue/tree/master/examples/todomvc)]

source/examples/tree-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ order: 4
55

66
> Example of a simple tree view implementation showcasing recursive usage of components.
77
8-
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/2caRm/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
8+
<iframe width="100%" height="500" src="http://jsfiddle.net/yyx990803/2e53p4wq/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

source/guide/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ title: Installation
22
type: guide
33
order: 1
44
vue_version: 0.11.0
5-
dev_size: 167.46
6-
min_size: 52.94
7-
gz_size: 17.20
5+
dev_size: 167.47
6+
min_size: 52.91
7+
gz_size: 17.27
88
---
99

1010
> **Compatibility Note:** Vue.js does not support IE8 and below.

themes/vue/layout/partials/index.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,27 +86,27 @@
8686
<div class="feats">
8787
<div class="feat">
8888
<h2><span class="icon simple"></span>Simple</h2>
89-
<p>Write some HTML, grab some JSON, create a ViewModel, that's it.</p>
89+
<p>Write some HTML, grab some JSON, create a Vue instance, that's it.</p>
9090
</div>
9191
<div class="feat">
9292
<h2><span class="icon fast"></span>Fast</h2>
93-
<p>Precise async batch DOM updates. Check out the <a href="/perf/">benchmarks</a>.</p>
93+
<p>Precise and efficient async batch DOM updates.</p>
9494
</div>
9595
<div class="feat">
9696
<h2><span class="icon composable"></span>Composable</h2>
9797
<p>Compose your application with decoupled, reusable components.</p>
9898
</div>
9999
<div class="feat">
100100
<h2><span class="icon compact"></span>Compact</h2>
101-
<p>~13kb minified and gzipped, no dependency.</p>
101+
<p>~17kb min+gzip, no dependency.</p>
102102
</div>
103103
<div class="feat">
104104
<h2><span class="icon powerful"></span>Powerful</h2>
105-
<p>Expressions and Computed Properties with auto dependency tracking and more.</p>
105+
<p>Expressions & computed properties with transparent dependency tracking.</p>
106106
</div>
107107
<div class="feat">
108108
<h2><span class="icon module"></span>Module Friendly</h2>
109-
<p>Component, Browserify or Bower - leverage your favorite eco system!</p>
109+
<p>Install via NPM, Bower or Duo - leverage your favorite eco system!</p>
110110
</div>
111111
</div>
112112
</div>
-36.9 KB
Binary file not shown.

themes/vue/source/js/vue.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)