Commit 6cdef548 authored by Pascal Hartig's avatar Pascal Hartig

Enyo: Changed jshint comment style

parent cf5fc9cb
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo: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. // 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({ enyo.kind({
name: 'ToDo.Application', name: 'ToDo.Application',
...@@ -13,4 +13,4 @@ enyo.kind({ ...@@ -13,4 +13,4 @@ enyo.kind({
name: 'ToDo.routes', name: 'ToDo.routes',
kind: 'ToDo.Routes' kind: 'ToDo.Routes'
}] }]
}); });
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'app.js' 'app.js'
); );
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ToDo:false, Backbone: false*/ /*global enyo:false, ToDo:false, Backbone: false */
enyo.ready(function () { enyo.ready(function () {
ToDo.TaskCollection = Backbone.Collection.extend({ ToDo.TaskCollection = Backbone.Collection.extend({
localStorage: new Backbone.LocalStorage('todos-enyo'), localStorage: new Backbone.LocalStorage('todos-enyo'),
model: ToDo.TaskModel model: ToDo.TaskModel
}); });
}); });
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'TaskCollection.js' 'TaskCollection.js'
); );
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, $:false*/ /*global enyo:false, $:false */
/*exported ENTER_KEY, ESC_KEY*/ /*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. // 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 ENTER_KEY = 13;
var ESC_KEY = 27; var ESC_KEY = 27;
...@@ -203,4 +203,4 @@ enyo.kind({ ...@@ -203,4 +203,4 @@ enyo.kind({
}); });
} }
} }
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ToDo:false*/ /*global enyo:false, ToDo:false */
enyo.kind({ enyo.kind({
kind: 'enyo.Router', kind: 'enyo.Router',
name: 'ToDo.Routes', name: 'ToDo.Routes',
...@@ -19,4 +19,4 @@ enyo.kind({ ...@@ -19,4 +19,4 @@ enyo.kind({
changeCollection: function () { changeCollection: function () {
ToDo.notepadcontroller.setRoute(this.current); ToDo.notepadcontroller.setRoute(this.current);
} }
}); });
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'NotepadController.js', 'NotepadController.js',
'Routes.js' 'Routes.js'
); );
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ToDo:false, Backbone:false*/ /*global enyo:false, ToDo:false, Backbone:false */
enyo.ready(function () { enyo.ready(function () {
ToDo.TaskModel = Backbone.Model.extend({ ToDo.TaskModel = Backbone.Model.extend({
defaults: { defaults: {
...@@ -7,4 +7,4 @@ enyo.ready(function () { ...@@ -7,4 +7,4 @@ enyo.ready(function () {
completed: false completed: false
} }
}); });
}); });
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'TaskModel.js' 'TaskModel.js'
); );
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'controllers', 'controllers',
'models', 'models',
...@@ -6,4 +6,4 @@ enyo.depends( ...@@ -6,4 +6,4 @@ enyo.depends(
'views', 'views',
'apps', 'apps',
'start.js' 'start.js'
); );
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ToDo:false*/ /*global enyo:false, ToDo:false */
// Once everything is loaded through enyo's dependency management, start the app // Once everything is loaded through enyo's dependency management, start the app
enyo.ready(function () { enyo.ready(function () {
window.app = new ToDo.Application(); window.app = new ToDo.Application();
window.app.render(); window.app.render();
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false*/ /*global enyo:false */
// The footer section // The footer section
enyo.kind({ enyo.kind({
name: 'ToDo.FooterView', name: 'ToDo.FooterView',
...@@ -25,4 +25,4 @@ enyo.kind({ ...@@ -25,4 +25,4 @@ enyo.kind({
allowHtml: true, allowHtml: true,
content: 'Part of <a href="http://todomvc.com">TodoMVC</a>' content: 'Part of <a href="http://todomvc.com">TodoMVC</a>'
}] }]
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false*/ /*global enyo:false */
enyo.kind({ enyo.kind({
name: 'ToDo.NotepadFooterView', name: 'ToDo.NotepadFooterView',
tag: 'footer', tag: 'footer',
...@@ -67,4 +67,4 @@ enyo.kind({ ...@@ -67,4 +67,4 @@ enyo.kind({
return true; return true;
} }
}] }]
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ENTER_KEY:false*/ /*global enyo:false, ENTER_KEY:false */
// Header section for adding a new task. // Header section for adding a new task.
enyo.kind({ enyo.kind({
name: 'ToDo.NotepadHeaderView', name: 'ToDo.NotepadHeaderView',
...@@ -29,4 +29,4 @@ enyo.kind({ ...@@ -29,4 +29,4 @@ enyo.kind({
} }
}] }]
}] }]
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false, ENTER_KEY:false, ESC_KEY:false*/ /*global enyo:false, ENTER_KEY:false, ESC_KEY:false */
// The main task list view // The main task list view
enyo.kind({ enyo.kind({
name: 'ToDo.NotepadMainView', name: 'ToDo.NotepadMainView',
...@@ -132,4 +132,4 @@ enyo.kind({ ...@@ -132,4 +132,4 @@ enyo.kind({
this.bubble('onReload'); this.bubble('onReload');
} }
}] }]
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false*/ /*global enyo:false */
// This is the notepad area // This is the notepad area
enyo.kind({ enyo.kind({
name: 'ToDo.NotepadView', name: 'ToDo.NotepadView',
...@@ -16,4 +16,4 @@ enyo.kind({ ...@@ -16,4 +16,4 @@ enyo.kind({
name: 'ToDo.notepadviewfooter', name: 'ToDo.notepadviewfooter',
kind: 'ToDo.NotepadFooterView' kind: 'ToDo.NotepadFooterView'
}] }]
}); });
\ No newline at end of file
/*jshint strict:false*/ /*jshint strict:false */
/*global enyo:false*/ /*global enyo:false */
// Top level window // Top level window
enyo.kind({ enyo.kind({
name: 'ToDo.WindowView', name: 'ToDo.WindowView',
...@@ -13,4 +13,4 @@ enyo.kind({ ...@@ -13,4 +13,4 @@ enyo.kind({
name: 'ToDo.footerview', name: 'ToDo.footerview',
kind: 'ToDo.FooterView' kind: 'ToDo.FooterView'
}] }]
}); });
\ No newline at end of file
/*global enyo:false*/ /*global enyo:false */
enyo.depends( enyo.depends(
'NotepadMainView.js', 'NotepadMainView.js',
'NotepadHeaderView.js', 'NotepadHeaderView.js',
...@@ -6,4 +6,4 @@ enyo.depends( ...@@ -6,4 +6,4 @@ enyo.depends(
'FooterView.js', 'FooterView.js',
'NotepadView.js', 'NotepadView.js',
'WindowView.js' 'WindowView.js'
); );
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment