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
c3992424
Commit
c3992424
authored
Nov 08, 2011
by
goldledoigt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various fix
parent
37918724
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
29 deletions
+22
-29
todo-example/extjs/css/style.css
todo-example/extjs/css/style.css
+1
-0
todo-example/extjs/js/app.js
todo-example/extjs/js/app.js
+20
-22
todo-example/extjs/js/store/Tasks.js
todo-example/extjs/js/store/Tasks.js
+0
-4
todo-example/extjs/js/view/TaskField.js
todo-example/extjs/js/view/TaskField.js
+0
-1
todo-example/extjs/js/view/TaskToolbar.js
todo-example/extjs/js/view/TaskToolbar.js
+1
-2
No files found.
todo-example/extjs/css/style.css
View file @
c3992424
...
...
@@ -39,6 +39,7 @@ h1 {
input
[
type
=
"text"
]
{
padding
:
6px
;
width
:
466px
!important
;
margin
:
0
auto
;
font-size
:
24px
;
border
:
1px
solid
#999999
;
...
...
todo-example/extjs/js/app.js
View file @
c3992424
Ext
.
onReady
(
function
()
{
Ext
.
Loader
.
setConfig
({
enabled
:
true
});
Ext
.
Loader
.
setConfig
({
enabled
:
true
});
Ext
.
application
({
name
:
'
Todo
'
,
appFolder
:
'
js
'
,
controllers
:
[
'
Tasks
'
],
launch
:
function
()
{
Ext
.
application
({
name
:
'
Todo
'
,
appFolder
:
'
js
'
,
controllers
:
[
'
Tasks
'
],
launch
:
function
()
{
Ext
.
create
(
'
Ext.container.Container
'
,
{
renderTo
:
'
todo
'
,
items
:
[{
xtype
:
'
container
'
,
html
:
'
<h1>Todos</h1>
'
},
{
xtype
:
'
taskField
'
},
{
xtype
:
'
taskList
'
},
{
xtype
:
'
taskToolbar
'
}]
});
}
});
Ext
.
create
(
'
Ext.container.Container
'
,
{
renderTo
:
'
todo
'
,
items
:
[{
xtype
:
'
container
'
,
html
:
'
<h1>Todos</h1>
'
},
{
xtype
:
'
taskField
'
},
{
xtype
:
'
taskList
'
},
{
xtype
:
'
taskToolbar
'
}]
});
}
});
todo-example/extjs/js/store/Tasks.js
View file @
c3992424
...
...
@@ -2,8 +2,4 @@ Ext.define('Todo.store.Tasks', {
autoLoad
:
true
,
model
:
'
Todo.model.Task
'
,
extend
:
'
Ext.data.Store
'
// data: [
// {label: 'task one', checked: false},
// {label: 'task two', checked: true}
// ]
});
todo-example/extjs/js/view/TaskField.js
View file @
c3992424
Ext
.
define
(
'
Todo.view.TaskField
'
,
{
width
:
466
,
enableKeyEvents
:
true
,
alias
:
'
widget.taskField
'
,
extend
:
'
Ext.form.TextField
'
,
...
...
todo-example/extjs/js/view/TaskToolbar.js
View file @
c3992424
...
...
@@ -6,7 +6,6 @@ Ext.define('Todo.view.TaskToolbar' , {
xtype
:
'
button
'
,
text
:
'
Clear completed
'
},
{
xtype
:
'
container
'
,
html
:
'
1 item left.
'
xtype
:
'
container
'
}]
});
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