Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eugene Shen
todomvc
Commits
c62974b0
Commit
c62974b0
authored
Feb 10, 2013
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #432 from passy/collapsed-news
Site - collapse new apps in changelog by default
parents
66788498
5b3e02c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
10 deletions
+43
-10
index.html
index.html
+11
-10
site/css/main.css
site/css/main.css
+22
-0
site/js/main.js
site/js/main.js
+10
-0
No files found.
index.html
View file @
c62974b0
...
...
@@ -244,16 +244,17 @@
<div
class=
"span4"
>
<h2>
New in 1.1 - TBA
</h2>
<ul
class=
"whats-new"
>
<li>
We now have 18 stable apps and 35 in labs. New since 1.0.1:
<ul>
<li>
Dart
</li>
<li>
TypeScript + Backbone.js
</li>
<li>
TypeScript + AngularJS
</li>
<li>
Serenade.js
</li>
<li>
CanJS + RequireJS
</li>
<li>
Chaplin + Brunch
</li>
<li>
Thorax + Lumbar
</li>
<li>
CanJS replaced the JavaScriptMVC app
</li>
<li>
We now have 18 stable apps and 35 in labs.
<a
href=
"#"
data-target=
"#new-apps"
class=
"expander"
>
New since 1.0.1 ▼
</a>
<ul
class=
"collapsed"
id=
"new-apps"
>
<li><a
href=
"architecture-examples/dart/web/"
>
Dart
</a></li>
<li><a
href=
"labs/architecture-examples/typescript-backbone/"
>
TypeScript + Backbone.js
</a></li>
<li><a
href=
"labs/architecture-examples/typescript-angular/"
>
TypeScript + AngularJS
</a></li>
<li><a
href=
"labs/architecture-examples/serenadejs/"
>
Serenade.js
</a></li>
<li><a
href=
"labs/dependency-examples/canjs_require/"
>
CanJS + RequireJS
</a></li>
<li><a
href=
"labs/dependency-examples/chaplin-brunch/public/"
>
Chaplin + Brunch
</a></li>
<li><a
href=
"labs/dependency-examples/thorax_lumbar/public/"
>
Thorax + Lumbar
</a></li>
<li><a
href=
"architecture-examples/canjs/"
>
CanJS
</a>
replaced the JavaScriptMVC app
</li>
</ul>
</li>
<li>
Many app frameworks and libraries have been upgraded to the latest version
</li>
...
...
site/css/main.css
View file @
c62974b0
...
...
@@ -118,6 +118,14 @@ header nav a:first-child {
left
:
-20px
;
}
.whats-new
li
ul
{
margin-left
:
10px
;
}
.whats-new
li
ul
li
{
margin-left
:
20px
;
}
.applist
{
list-style
:
none
;
margin
:
0
;
...
...
@@ -184,6 +192,20 @@ p .label {
columns
:
2
;
}
.collapsed
{
overflow
:
hidden
;
max-height
:
0
;
-webkit-transition
:
max-height
1s
;
-moz-transition
:
max-height
1s
;
-ms-transition
:
max-height
1s
;
-o-transition
:
max-height
1s
;
transition
:
max-height
1s
;
}
.collapsed.expanded
{
max-height
:
999px
;
}
.credit
a
{
margin
:
0
5px
;
white-space
:
nowrap
;
...
...
site/js/main.js
View file @
c62974b0
...
...
@@ -132,9 +132,19 @@
});
};
$
.
fn
.
expander
=
function
()
{
this
.
click
(
function
(
ev
)
{
ev
.
preventDefault
();
$
(
$
(
this
).
data
(
'
target
'
)).
toggleClass
(
'
expanded
'
);
});
};
// Apps popover
$
(
'
.applist a
'
).
persistantPopover
();
// What's new expander
$
(
'
.expander
'
).
expander
();
// Quotes
$
(
'
.quotes
'
).
quote
([{
quote
:
'
TodoMVC is a godsend for helping developers find what well-developed frameworks match their mental model of application architecture.
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment