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
Sven Franck
todomvc
Commits
b047db70
Commit
b047db70
authored
Jul 15, 2015
by
TasteBot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update the build files for gh-pages [ci skip]
parent
bfeac717
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
135 additions
and
158 deletions
+135
-158
examples/closure/js/app.js
examples/closure/js/app.js
+0
-1
examples/closure/js/compiled.js
examples/closure/js/compiled.js
+123
-113
examples/closure/js/todomvc/view/ClearCompletedControlRenderer.js
.../closure/js/todomvc/view/ClearCompletedControlRenderer.js
+0
-11
examples/closure/js/todomvc/view/templates.soy
examples/closure/js/todomvc/view/templates.soy
+1
-10
examples/closure/node_modules/todomvc-app-css/index.css
examples/closure/node_modules/todomvc-app-css/index.css
+1
-17
examples/closure/node_modules/todomvc-common/base.js
examples/closure/node_modules/todomvc-common/base.js
+7
-2
examples/componentjs/app/app-ui-widget-todo-mask.html
examples/componentjs/app/app-ui-widget-todo-mask.html
+1
-1
examples/componentjs/app/app-ui-widget-todo-view.js
examples/componentjs/app/app-ui-widget-todo-view.js
+0
-1
examples/thorax_lumbar/package.json
examples/thorax_lumbar/package.json
+1
-1
examples/thorax_lumbar/src/js/views/stats.js
examples/thorax_lumbar/src/js/views/stats.js
+1
-1
No files found.
examples/closure/js/app.js
View file @
b047db70
...
...
@@ -160,7 +160,6 @@ function redraw() {
var
remainingCount
=
items
.
length
-
(
doneCount
);
toggleAll
.
checked
=
remainingCount
===
0
;
itemCountControl
.
setContent
(
remainingCount
.
toString
());
clearCompletedControl
.
setContent
(
doneCount
.
toString
());
clearCompletedControl
.
setVisible
(
doneCount
>
0
);
goog
.
style
.
setElementShown
(
main
,
items
.
length
>
0
);
goog
.
style
.
setElementShown
(
footer
,
items
.
length
>
0
);
...
...
examples/closure/js/compiled.js
View file @
b047db70
This source diff could not be displayed because it is too large. You can
view the blob
instead.
examples/closure/js/todomvc/view/ClearCompletedControlRenderer.js
View file @
b047db70
...
...
@@ -43,17 +43,6 @@ todomvc.view.ClearCompletedControlRenderer.prototype.canDecorate =
return
false
;
};
/**
* @param {Element} element Element to populate.
* @param {goog.ui.ControlContent} content Text caption or DOM.
*/
todomvc
.
view
.
ClearCompletedControlRenderer
.
prototype
.
setContent
=
function
(
element
,
content
)
{
element
.
innerHTML
=
todomvc
.
view
.
clearCompletedInner
({
number
:
content
});
};
/**
* Updates the appearance of the control in response to a state change.
*
...
...
examples/closure/js/todomvc/view/templates.soy
View file @
b047db70
...
...
@@ -34,16 +34,7 @@
/**
* A todo list clear completed template
* @param number the count of items
*/
{template .clearCompleted}
<button id="clear-completed">{call .clearCompletedInner data="all"/}</button>
{/template}
/**
* A todo list clear completed template
* @param number the count of items
*/
{template .clearCompletedInner}
Clear completed ({$number})
<button id="clear-completed">Clear completed</button>
{/template}
examples/closure/node_modules/todomvc-app-css/index.css
View file @
b047db70
...
...
@@ -15,11 +15,9 @@ button {
font-weight
:
inherit
;
color
:
inherit
;
-webkit-appearance
:
none
;
-ms-appearance
:
none
;
appearance
:
none
;
-webkit-font-smoothing
:
antialiased
;
-moz-font-smoothing
:
antialiased
;
-ms-font-smoothing
:
antialiased
;
font-smoothing
:
antialiased
;
}
...
...
@@ -33,7 +31,6 @@ body {
margin
:
0
auto
;
-webkit-font-smoothing
:
antialiased
;
-moz-font-smoothing
:
antialiased
;
-ms-font-smoothing
:
antialiased
;
font-smoothing
:
antialiased
;
font-weight
:
300
;
}
...
...
@@ -83,7 +80,6 @@ input[type="checkbox"] {
color
:
rgba
(
175
,
47
,
47
,
0.15
);
-webkit-text-rendering
:
optimizeLegibility
;
-moz-text-rendering
:
optimizeLegibility
;
-ms-text-rendering
:
optimizeLegibility
;
text-rendering
:
optimizeLegibility
;
}
...
...
@@ -102,11 +98,9 @@ input[type="checkbox"] {
padding
:
6px
;
border
:
1px
solid
#999
;
box-shadow
:
inset
0
-1px
5px
0
rgba
(
0
,
0
,
0
,
0.2
);
-ms-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-font-smoothing
:
antialiased
;
-moz-font-smoothing
:
antialiased
;
-ms-font-smoothing
:
antialiased
;
font-smoothing
:
antialiased
;
}
...
...
@@ -191,7 +185,6 @@ label[for='toggle-all'] {
margin
:
auto
0
;
border
:
none
;
/* Mobile Safari */
-webkit-appearance
:
none
;
-ms-appearance
:
none
;
appearance
:
none
;
}
...
...
@@ -323,19 +316,10 @@ html #clear-completed:active {
line-height
:
20px
;
text-decoration
:
none
;
cursor
:
pointer
;
visibility
:
hidden
;
position
:
relative
;
}
#clear-completed
::after
{
visibility
:
visible
;
content
:
'Clear completed'
;
position
:
absolute
;
right
:
0
;
white-space
:
nowrap
;
}
#clear-completed
:hover::after
{
#clear-completed
:hover
{
text-decoration
:
underline
;
}
...
...
examples/closure/node_modules/todomvc-common/base.js
View file @
b047db70
...
...
@@ -114,7 +114,12 @@
})({});
if
(
location
.
hostname
===
'
todomvc.com
'
)
{
window
.
_gaq
=
[[
'
_setAccount
'
,
'
UA-31081062-1
'
],[
'
_trackPageview
'
]];(
function
(
d
,
t
){
var
g
=
d
.
createElement
(
t
),
s
=
d
.
getElementsByTagName
(
t
)[
0
];
g
.
src
=
'
//www.google-analytics.com/ga.js
'
;
s
.
parentNode
.
insertBefore
(
g
,
s
)}(
document
,
'
script
'
));
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'
GoogleAnalyticsObject
'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'
script
'
,
'
https://www.google-analytics.com/analytics.js
'
,
'
ga
'
);
ga
(
'
create
'
,
'
UA-31081062-1
'
,
'
auto
'
);
ga
(
'
send
'
,
'
pageview
'
);
}
/* jshint ignore:end */
...
...
@@ -228,7 +233,7 @@
xhr
.
onload
=
function
(
e
)
{
var
parsedResponse
=
JSON
.
parse
(
e
.
target
.
responseText
);
if
(
parsedResponse
instanceof
Array
)
{
var
count
=
parsedResponse
.
length
var
count
=
parsedResponse
.
length
;
if
(
count
!==
0
)
{
issueLink
.
innerHTML
=
'
This app has
'
+
count
+
'
open issues
'
;
document
.
getElementById
(
'
issue-count
'
).
style
.
display
=
'
inline
'
;
...
...
examples/componentjs/app/app-ui-widget-todo-mask.html
View file @
b047db70
...
...
@@ -33,7 +33,7 @@
<li><a
href=
"#"
data-tag=
"completed"
>
Completed
</a></li>
</ul>
<button
class=
"todo__completed todo__button"
>
Clear completed
(
<span
data-bind=
"data:status-items-completed"
></span>
)
Clear completed
</button>
</footer>
</div>
...
...
examples/componentjs/app/app-ui-widget-todo-view.js
View file @
b047db70
...
...
@@ -165,7 +165,6 @@
func
:
function
(
ev
,
value
)
{
if
(
value
>
0
)
{
$
(
'
.todo__completed
'
,
ui
).
css
(
'
display
'
,
'
block
'
);
$
(
'
*[data-bind=
\'
data:status-items-completed
\'
]
'
,
ui
).
text
(
value
);
}
else
{
$
(
'
.todo__completed
'
,
ui
).
css
(
'
display
'
,
'
none
'
);
}
...
...
examples/thorax_lumbar/package.json
View file @
b047db70
...
...
@@ -7,4 +7,4 @@
"scripts"
:
{
"start"
:
"lumbar build lumbar.json public"
}
}
\ No newline at end of file
}
examples/thorax_lumbar/src/js/views/stats.js
View file @
b047db70
...
...
@@ -46,4 +46,4 @@ Thorax.View.extend({
.
filter
(
'
[href="#/
'
+
(
window
.
app
.
TodoFilter
||
''
)
+
'
"]
'
)
.
addClass
(
'
selected
'
);
}
});
\ No newline at end of file
});
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