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
6cdef548
Commit
6cdef548
authored
Apr 15, 2013
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enyo: Changed jshint comment style
parent
cf5fc9cb
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
49 additions
and
49 deletions
+49
-49
labs/dependency-examples/enyo_backbone/js/apps/app.js
labs/dependency-examples/enyo_backbone/js/apps/app.js
+3
-3
labs/dependency-examples/enyo_backbone/js/apps/package.js
labs/dependency-examples/enyo_backbone/js/apps/package.js
+2
-2
labs/dependency-examples/enyo_backbone/js/collections/TaskCollection.js
...y-examples/enyo_backbone/js/collections/TaskCollection.js
+3
-3
labs/dependency-examples/enyo_backbone/js/collections/package.js
...pendency-examples/enyo_backbone/js/collections/package.js
+2
-2
labs/dependency-examples/enyo_backbone/js/controllers/NotepadController.js
...xamples/enyo_backbone/js/controllers/NotepadController.js
+4
-4
labs/dependency-examples/enyo_backbone/js/controllers/Routes.js
...ependency-examples/enyo_backbone/js/controllers/Routes.js
+3
-3
labs/dependency-examples/enyo_backbone/js/controllers/package.js
...pendency-examples/enyo_backbone/js/controllers/package.js
+2
-2
labs/dependency-examples/enyo_backbone/js/models/TaskModel.js
.../dependency-examples/enyo_backbone/js/models/TaskModel.js
+3
-3
labs/dependency-examples/enyo_backbone/js/models/package.js
labs/dependency-examples/enyo_backbone/js/models/package.js
+2
-2
labs/dependency-examples/enyo_backbone/js/package.js
labs/dependency-examples/enyo_backbone/js/package.js
+2
-2
labs/dependency-examples/enyo_backbone/js/start.js
labs/dependency-examples/enyo_backbone/js/start.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/FooterView.js
.../dependency-examples/enyo_backbone/js/views/FooterView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/NotepadFooterView.js
...ency-examples/enyo_backbone/js/views/NotepadFooterView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/NotepadHeaderView.js
...ency-examples/enyo_backbone/js/views/NotepadHeaderView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/NotepadMainView.js
...ndency-examples/enyo_backbone/js/views/NotepadMainView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/NotepadView.js
...dependency-examples/enyo_backbone/js/views/NotepadView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/WindowView.js
.../dependency-examples/enyo_backbone/js/views/WindowView.js
+3
-3
labs/dependency-examples/enyo_backbone/js/views/package.js
labs/dependency-examples/enyo_backbone/js/views/package.js
+2
-2
No files found.
labs/dependency-examples/enyo_backbone/js/apps/app.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false
*/
/*global enyo:false
*/
// Base component. This is the app that holds everything. An app can be as big as the whole app or as big as a single module.
enyo
.
kind
({
name
:
'
ToDo.Application
'
,
...
...
@@ -13,4 +13,4 @@ enyo.kind({
name
:
'
ToDo.routes
'
,
kind
:
'
ToDo.Routes
'
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/apps/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
app.js
'
);
\ No newline at end of file
);
labs/dependency-examples/enyo_backbone/js/collections/TaskCollection.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ToDo:false, Backbone: false*/
/*jshint strict:false
*/
/*global enyo:false, ToDo:false, Backbone: false
*/
enyo
.
ready
(
function
()
{
ToDo
.
TaskCollection
=
Backbone
.
Collection
.
extend
({
localStorage
:
new
Backbone
.
LocalStorage
(
'
todos-enyo
'
),
model
:
ToDo
.
TaskModel
});
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/collections/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
TaskCollection.js
'
);
\ No newline at end of file
);
labs/dependency-examples/enyo_backbone/js/controllers/NotepadController.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, $:false*/
/*exported ENTER_KEY, ESC_KEY*/
/*jshint strict:false
*/
/*global enyo:false, $:false
*/
/*exported ENTER_KEY, ESC_KEY
*/
// This is based on Enyo 2.1.1. The next version (2.3) of Enyo will more tightly integrate MVC and should require less custom code.
var
ENTER_KEY
=
13
;
var
ESC_KEY
=
27
;
...
...
@@ -203,4 +203,4 @@ enyo.kind({
});
}
}
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/controllers/Routes.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ToDo:false*/
/*jshint strict:false
*/
/*global enyo:false, ToDo:false
*/
enyo
.
kind
({
kind
:
'
enyo.Router
'
,
name
:
'
ToDo.Routes
'
,
...
...
@@ -19,4 +19,4 @@ enyo.kind({
changeCollection
:
function
()
{
ToDo
.
notepadcontroller
.
setRoute
(
this
.
current
);
}
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/controllers/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
NotepadController.js
'
,
'
Routes.js
'
);
\ No newline at end of file
);
labs/dependency-examples/enyo_backbone/js/models/TaskModel.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ToDo:false, Backbone:false*/
/*jshint strict:false
*/
/*global enyo:false, ToDo:false, Backbone:false
*/
enyo
.
ready
(
function
()
{
ToDo
.
TaskModel
=
Backbone
.
Model
.
extend
({
defaults
:
{
...
...
@@ -7,4 +7,4 @@ enyo.ready(function () {
completed
:
false
}
});
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/models/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
TaskModel.js
'
);
\ No newline at end of file
);
labs/dependency-examples/enyo_backbone/js/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
controllers
'
,
'
models
'
,
...
...
@@ -6,4 +6,4 @@ enyo.depends(
'
views
'
,
'
apps
'
,
'
start.js
'
);
\ No newline at end of file
);
labs/dependency-examples/enyo_backbone/js/start.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ToDo:false*/
/*jshint strict:false
*/
/*global enyo:false, ToDo:false
*/
// Once everything is loaded through enyo's dependency management, start the app
enyo
.
ready
(
function
()
{
window
.
app
=
new
ToDo
.
Application
();
window
.
app
.
render
();
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/FooterView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false
*/
/*global enyo:false
*/
// The footer section
enyo
.
kind
({
name
:
'
ToDo.FooterView
'
,
...
...
@@ -25,4 +25,4 @@ enyo.kind({
allowHtml
:
true
,
content
:
'
Part of <a href="http://todomvc.com">TodoMVC</a>
'
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/NotepadFooterView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false
*/
/*global enyo:false
*/
enyo
.
kind
({
name
:
'
ToDo.NotepadFooterView
'
,
tag
:
'
footer
'
,
...
...
@@ -67,4 +67,4 @@ enyo.kind({
return
true
;
}
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/NotepadHeaderView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ENTER_KEY:false*/
/*jshint strict:false
*/
/*global enyo:false, ENTER_KEY:false
*/
// Header section for adding a new task.
enyo
.
kind
({
name
:
'
ToDo.NotepadHeaderView
'
,
...
...
@@ -29,4 +29,4 @@ enyo.kind({
}
}]
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/NotepadMainView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false, ENTER_KEY:false, ESC_KEY:false*/
/*jshint strict:false
*/
/*global enyo:false, ENTER_KEY:false, ESC_KEY:false
*/
// The main task list view
enyo
.
kind
({
name
:
'
ToDo.NotepadMainView
'
,
...
...
@@ -132,4 +132,4 @@ enyo.kind({
this
.
bubble
(
'
onReload
'
);
}
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/NotepadView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false
*/
/*global enyo:false
*/
// This is the notepad area
enyo
.
kind
({
name
:
'
ToDo.NotepadView
'
,
...
...
@@ -16,4 +16,4 @@ enyo.kind({
name
:
'
ToDo.notepadviewfooter
'
,
kind
:
'
ToDo.NotepadFooterView
'
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/WindowView.js
View file @
6cdef548
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false
*/
/*global enyo:false
*/
// Top level window
enyo
.
kind
({
name
:
'
ToDo.WindowView
'
,
...
...
@@ -13,4 +13,4 @@ enyo.kind({
name
:
'
ToDo.footerview
'
,
kind
:
'
ToDo.FooterView
'
}]
});
\ No newline at end of file
});
labs/dependency-examples/enyo_backbone/js/views/package.js
View file @
6cdef548
/*global enyo:false*/
/*global enyo:false
*/
enyo
.
depends
(
'
NotepadMainView.js
'
,
'
NotepadHeaderView.js
'
,
...
...
@@ -6,4 +6,4 @@ enyo.depends(
'
FooterView.js
'
,
'
NotepadView.js
'
,
'
WindowView.js
'
);
\ 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