History

Add SQLite documentation

Thibaut Courouble committed 9 years ago

Commit 0c8ca4e1 parent be1390321 files · +332 −4Browse files

Showing the changes to assets/javascripts (3 of 21 files). Show all

Unified · Split

3 files
  1. assets/javascripts/news.json +3 −0
  2. assets/javascripts/templates/pages/about_tmpl.coffee +5 −0
  3. assets/javascripts/views/pages/sqlite.coffee +17 −0
assets/javascripts/news.json+3−0
@@ -1,5 +1,8 @@
1[1[
2 [2 [
3 "2016-12-04",
4 "New documentation: <a href=\"/sqlite/\">SQLite</a>"
5 ], [
3 "2016-11-20",6 "2016-11-20",
4 "New documentations: <a href=\"/yarn/\">Yarn</a>, <a href=\"/immutable/\">Immutable.js</a> and <a href=\"/async/\">Async</a>"7 "New documentations: <a href=\"/yarn/\">Yarn</a>, <a href=\"/immutable/\">Immutable.js</a> and <a href=\"/async/\">Async</a>"
5 ], [8 ], [
assets/javascripts/templates/pages/about_tmpl.coffee+5−0
@@ -529,6 +529,11 @@ credits = [ · 528 unmodified lines
529 '2014-2015 Automattic',529 '2014-2015 Automattic',
530 'MIT',530 'MIT',
531 'https://raw.githubusercontent.com/Automattic/socket.io/master/LICENSE'531 'https://raw.githubusercontent.com/Automattic/socket.io/master/LICENSE'
532 ], [
533 'SQLite',
534 'n/a',
535 'Public Domain',
536 'https://sqlite.org/copyright.html'
532 ], [537 ], [
533 'Statsmodels',538 'Statsmodels',
534 '2009-2012 Statsmodels Developers<br>&copy; 2006-2008 Scipy Developers<br>&copy; 2006 Jonathan E. Taylor',539 '2009-2012 Statsmodels Developers<br>&copy; 2006-2008 Scipy Developers<br>&copy; 2006 Jonathan E. Taylor',
assets/javascripts/views/pages/sqlite.coffee+17−0
@@ -0,0 +1,17 @@
1#= require views/pages/simple
2
3class app.views.SqlitePage extends app.views.SimplePage
4 @events:
5 click: 'onClick'
6
7 onClick: (event) =>
8 return unless id = event.target.getAttribute('data-toggle')
9 return unless el = @find("##{id}")
10 $.stopEvent(event)
11 if el.style.display == 'none'
12 el.style.display = 'block'
13 event.target.textContent = 'hide'
14 else
15 el.style.display = 'none'
16 event.target.textContent = 'show'
17 return