History

Add Angular 2 documentation

Thibaut Courouble committed 10 years ago

Commit b78244f1 parent cd9f50c25 files · +436 −183Browse files

Showing the changes to assets/javascripts (4 of 25 files). Show all

Unified · Split

4 files
  1. assets/javascripts/app/app.coffee +1 −0
  2. assets/javascripts/news.json +4 −4
  3. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  4. assets/javascripts/views/pages/simple.coffee +1 −0
assets/javascripts/app/app.coffee+1−0
@@ -116,6 +116,7 @@ · 115 unmodified lines
116116 needsSaving = true
117117 doc = @disabledDocs.findBy('slug', 'node~4_lts') if slug == 'node~4.2_lts'
118118 doc = @disabledDocs.findBy('slug', 'xslt_xpath') if slug == 'xpath'
119+ doc = @disabledDocs.findBy('slug', "angularjs~#{match[1]}") if match = /^angular~(1\.\d)$/.exec(slug)
119120 doc ||= @disabledDocs.findBy('slug_without_version', slug)
120121 if doc
121122 @disabledDocs.remove(doc)
assets/javascripts/news.json+4−4
@@ -1,5 +1,8 @@
11 [
22 [
3+ "2016-06-12",
4+ "New documentation: <a href=\"/angular/\">Angular 2</a>"
5+ ], [
36 "2016-06-05",
47 "New documentation: <a href=\"/kotlin/\">Kotlin</a> and <a href=\"/padrino/\">Padrino</a>"
58 ], [
@@ -154,9 +157,6 @@ · 148 unmodified lines
154157 ], [
155158 "2014-02-12",
156159 "The root/category pages are now included in the search index (e.g. <a href=\"/#q=CSS\">CSS</a>)"
157− ], [
158− "2014-01-26",
159− "Updated <a href=\"/angular/\">Angular.js</a> documentation"
160160 ], [
161161 "2014-01-19",
162162 "New <a href=\"/d3/\">D3.js</a> and <a href=\"/knockout/\">Knockout.js</a> documentations"
@@ -210,7 +210,7 @@ · 47 unmodified lines
210210 "URL search now automatically opens the first result."
211211 ], [
212212 "2013-08-13",
213− "New <a href=\"/angular/\">Angular.js</a> documentation"
213+ "New <a href=\"/angularjs/\">Angular.js</a> documentation"
214214 ], [
215215 "2013-08-11",
216216 "New <a href=\"/sass/\">Sass</a> and <a href=\"/less/\">Less</a> documentations"
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -86,7 +86,7 @@ app.templates.aboutPage = -> """ · 85 unmodified lines
8686 """
8787
8888 credits = [
89− [ 'Angular.js',
89+ [ 'Angular<br>Angular.js',
9090 '2010-2016 Google, Inc.',
9191 'CC BY',
9292 'https://creativecommons.org/licenses/by/4.0/'
assets/javascripts/views/pages/simple.coffee+1−0
@@ -7,6 +7,7 @@ class app.views.SimplePage extends app.views.BasePage · 6 unmodified lines
77 return
88
99 app.views.AngularPage =
10+app.views.AngularjsPage =
1011 app.views.CakephpPage =
1112 app.views.ElixirPage =
1213 app.views.EmberPage =