Skip to content

Commit 215fd8b

Browse files
authored
Merge pull request vuejs#187 from Alex-Sokolov/master
Новые правки
2 parents 7bb3be9 + aa2fea3 commit 215fd8b

18 files changed

+901
-862
lines changed

_config.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ markdown:
9999
offline:
100100
maximumFileSizeToCacheInBytes: 10485760
101101
staticFileGlobs:
102-
- public/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff,json,xml}
102+
- public/**/*.{js,html,css,png,jpg,jpeg,gif,svg,eot,ttf,woff,woff2,json,xml}
103103
stripPrefix: public
104104
verbose: true
105105
runtimeCaching:
106+
# Ad Sources - should be networkFirst
106107
- urlPattern: /*
107108
handler: networkFirst
108109
options:
@@ -111,6 +112,11 @@ offline:
111112
handler: networkFirst
112113
options:
113114
origin: ad.doubleclick.net
115+
- urlPattern: /*
116+
handler: networkFirst
117+
options:
118+
origin: srv.carbonads.net
119+
# CDNs - should be cacheFirst, since they should be used specific versions so should not change
114120
- urlPattern: /*
115121
handler: cacheFirst
116122
options:
@@ -123,6 +129,14 @@ offline:
123129
handler: cacheFirst
124130
options:
125131
origin: fonts.gstatic.com
132+
- urlPattern: /*
133+
handler: cacheFirst
134+
options:
135+
origin: cdnjs.cloudflare.com
136+
- urlPattern: /*
137+
handler: cacheFirst
138+
options:
139+
origin: maxcdn.bootstrapcdn.com
126140

127141
# Deployment
128142
## Docs: http://zespia.tw/hexo/docs/deployment.html

src/v2/guide/list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Vue.component('todo-item', {
262262
template: '\
263263
<li>\
264264
{{ title }}\
265-
<button v-on:click="$emit('remove')">X</button>\
265+
<button v-on:click="$emit(\'remove\')">X</button>\
266266
</li>\
267267
',
268268
props: ['title']
@@ -309,7 +309,7 @@ Vue.component('todo-item', {
309309
template: '\
310310
<li>\
311311
{{ title }}\
312-
<button v-on:click="$emit('remove')">X</button>\
312+
<button v-on:click="$emit(\'remove\')">X</button>\
313313
</li>\
314314
',
315315
props: ['title']

src/v2/guide/team.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ order: 31
206206
'Bangalore, India': [12.971599, 77.594563],
207207
'Kingston, Jamaica': [18.017874, -76.809904],
208208
'Tehran, Iran': [35.689197, 51.388974],
209-
'Shanghai, China': [31.230390, 121.473702]
209+
'Shanghai, China': [31.230390, 121.473702],
210+
'Annecy, France': [45.899247, 6.129384]
210211
}
211212
var languageNameFor = {
212213
en: 'English',
@@ -612,6 +613,25 @@ order: 31
612613
reposPersonal: [
613614
'elemefe/element', 'elemefe/mint-ui'
614615
]
616+
},
617+
{
618+
name: 'Bruno Lesieur',
619+
title: 'French Community Directeur',
620+
city: 'Annecy, France',
621+
languages: ['fr', 'en'],
622+
github: 'Haeresis',
623+
twitter: 'MachinisteWeb',
624+
work: {
625+
role: 'Cofounder',
626+
org: 'Orchard ID',
627+
orgUrl: 'https://www.orchard-id.com/'
628+
},
629+
reposPersonal: [
630+
'vuejs-fr/vuejs.org', 'Haeresis/node-atlas-hello-vue'
631+
],
632+
links: [
633+
'https://node-atlas.js.org/', 'https://blog.lesieur.name/'
634+
]
615635
}
616636
]
617637

themes/vue/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_description: "Vue.js — Интуитивный, быстрый и компонуемый MVVM для создания интерактивных интерфейсов."
1+
site_description: "Vue.js — Прогрессивный JavaScript-фреймворк"
22
google_analytics: UA-46852172-1
33
root_domain: ru.vuejs.org
44
vue_version: 2.3.0

themes/vue/layout/index.ejs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<div class="sidebar">
2-
<ul class="main-menu">
3-
<%- partial('partials/main_menu', { context: 'sidebar' }) %>
4-
</ul>
2+
<div class="sidebar-inner-index">
3+
<ul class="main-menu">
4+
<%- partial('partials/main_menu', { context: 'sidebar' }) %>
5+
</ul>
6+
</div>
57
</div>
68

79
<div id="hero">

themes/vue/layout/partials/ecosystem_dropdown.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<li><h4>Списки ресурсов</h4></li>
2222
<li><ul>
2323
<li><a href="https://github.com/vuejs" class="nav-link" target="_blank">Официальные репозитории</a></li>
24+
<li><a href="https://curated.vuejs.org/" class="nav-link" target="_blank">Vue Curated</a></li>
2425
<li><a href="https://github.com/vuejs/awesome-vue" class="nav-link" target="_blank">Awesome Vue</a></li>
2526
</ul></li>
2627
</ul>

0 commit comments

Comments
 (0)