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
116 needsSaving = true116 needsSaving = true
117 doc = @disabledDocs.findBy('slug', 'node~4_lts') if slug == 'node~4.2_lts'117 doc = @disabledDocs.findBy('slug', 'node~4_lts') if slug == 'node~4.2_lts'
118 doc = @disabledDocs.findBy('slug', 'xslt_xpath') if slug == 'xpath'118 doc = @disabledDocs.findBy('slug', 'xslt_xpath') if slug == 'xpath'
119 doc = @disabledDocs.findBy('slug', "angularjs~#{match[1]}") if match = /^angular~(1\.\d)$/.exec(slug)
119 doc ||= @disabledDocs.findBy('slug_without_version', slug)120 doc ||= @disabledDocs.findBy('slug_without_version', slug)
120 if doc121 if doc
121 @disabledDocs.remove(doc)122 @disabledDocs.remove(doc)
assets/javascripts/news.json+4−4
@@ -1,5 +1,8 @@
1[1[
2 [2 [
3 "2016-06-12",
4 "New documentation: <a href=\"/angular/\">Angular 2</a>"
5 ], [
3 "2016-06-05",6 "2016-06-05",
4 "New documentation: <a href=\"/kotlin/\">Kotlin</a> and <a href=\"/padrino/\">Padrino</a>"7 "New documentation: <a href=\"/kotlin/\">Kotlin</a> and <a href=\"/padrino/\">Padrino</a>"
5 ], [8 ], [
@@ -154,9 +157,6 @@ · 148 unmodified lines
154 ], [157 ], [
155 "2014-02-12",158 "2014-02-12",
156 "The root/category pages are now included in the search index (e.g. <a href=\"/#q=CSS\">CSS</a>)"159 "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"
160 ], [160 ], [
161 "2014-01-19",161 "2014-01-19",
162 "New <a href=\"/d3/\">D3.js</a> and <a href=\"/knockout/\">Knockout.js</a> documentations"162 "New <a href=\"/d3/\">D3.js</a> and <a href=\"/knockout/\">Knockout.js</a> documentations"
@@ -210,7 +210,7 @@ · 47 unmodified lines
210 "URL search now automatically opens the first result."210 "URL search now automatically opens the first result."
211 ], [211 ], [
212 "2013-08-13",212 "2013-08-13",
213 "New <a href=\"/angular/\">Angular.js</a> documentation"213 "New <a href=\"/angularjs/\">Angular.js</a> documentation"
214 ], [214 ], [
215 "2013-08-11",215 "2013-08-11",
216 "New <a href=\"/sass/\">Sass</a> and <a href=\"/less/\">Less</a> documentations"216 "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
86"""86"""
87 87
88credits = [88credits = [
89 [ 'Angular.js',89 [ 'Angular<br>Angular.js',
90 '2010-2016 Google, Inc.',90 '2010-2016 Google, Inc.',
91 'CC BY',91 'CC BY',
92 'https://creativecommons.org/licenses/by/4.0/'92 '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
7 return7 return
8 8
9app.views.AngularPage =9app.views.AngularPage =
10app.views.AngularjsPage =
10app.views.CakephpPage =11app.views.CakephpPage =
11app.views.ElixirPage =12app.views.ElixirPage =
12app.views.EmberPage =13app.views.EmberPage =