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

Enyo: Changed jshint comment style

parent cf5fc9cb
/*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
});
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'app.js'
);
\ No newline at end of file
);
/*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
});
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'TaskCollection.js'
);
\ No newline at end of file
);
/*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
});
/*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
});
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'NotepadController.js',
'Routes.js'
);
\ No newline at end of file
);
/*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
});
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'TaskModel.js'
);
\ No newline at end of file
);
/*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
);
/*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
});
/*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
});
/*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
});
/*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
});
/*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
});
/*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
});
/*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
});
/*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
);
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