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
31e6b971
Commit
31e6b971
authored
Oct 20, 2014
by
Yoshiya Hinosawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update todomvc-common of vanillajs example
parent
18d4f472
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
13 deletions
+2
-13
examples/vanillajs/bower_components/todomvc-common/base.css
examples/vanillajs/bower_components/todomvc-common/base.css
+0
-2
examples/vanillajs/bower_components/todomvc-common/base.js
examples/vanillajs/bower_components/todomvc-common/base.js
+2
-11
No files found.
examples/vanillajs/bower_components/todomvc-common/base.css
View file @
31e6b971
...
@@ -274,7 +274,6 @@ label[for='toggle-all'] {
...
@@ -274,7 +274,6 @@ label[for='toggle-all'] {
text-shadow
:
0
0
1px
#000
,
text-shadow
:
0
0
1px
#000
,
0
0
10px
rgba
(
199
,
107
,
107
,
0.8
);
0
0
10px
rgba
(
199
,
107
,
107
,
0.8
);
-webkit-transform
:
scale
(
1.3
);
-webkit-transform
:
scale
(
1.3
);
-ms-transform
:
scale
(
1.3
);
transform
:
scale
(
1.3
);
transform
:
scale
(
1.3
);
}
}
...
@@ -399,7 +398,6 @@ label[for='toggle-all'] {
...
@@ -399,7 +398,6 @@ label[for='toggle-all'] {
width
:
65px
;
width
:
65px
;
height
:
41px
;
height
:
41px
;
-webkit-transform
:
rotate
(
90deg
);
-webkit-transform
:
rotate
(
90deg
);
-ms-transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
-webkit-appearance
:
none
;
-webkit-appearance
:
none
;
appearance
:
none
;
appearance
:
none
;
...
...
examples/vanillajs/bower_components/todomvc-common/base.js
View file @
31e6b971
...
@@ -122,16 +122,7 @@
...
@@ -122,16 +122,7 @@
}
}
function
findRoot
()
{
function
findRoot
()
{
var
base
;
var
base
=
location
.
href
.
indexOf
(
'
examples/
'
);
[
/labs/
,
/
\w
*-examples/
].
forEach
(
function
(
href
)
{
var
match
=
location
.
href
.
match
(
href
);
if
(
!
base
&&
match
)
{
base
=
location
.
href
.
indexOf
(
match
);
}
});
return
location
.
href
.
substr
(
0
,
base
);
return
location
.
href
.
substr
(
0
,
base
);
}
}
...
@@ -177,7 +168,7 @@
...
@@ -177,7 +168,7 @@
}
}
if
(
!
framework
&&
document
.
querySelector
(
'
[data-framework]
'
))
{
if
(
!
framework
&&
document
.
querySelector
(
'
[data-framework]
'
))
{
framework
=
document
.
querySelector
(
'
[data-framework]
'
).
getAttribute
(
'
data-framework
'
)
;
framework
=
document
.
querySelector
(
'
[data-framework]
'
).
dataset
.
framework
;
}
}
...
...
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