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',
......
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'app.js'
);
/*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'),
......
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'TaskCollection.js'
);
/*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;
......
/*jshint strict:false*/
/*global enyo:false, ToDo:false*/
/*jshint strict:false */
/*global enyo:false, ToDo:false */
enyo.kind({
kind: 'enyo.Router',
name: 'ToDo.Routes',
......
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'NotepadController.js',
'Routes.js'
......
/*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: {
......
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'TaskModel.js'
);
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'controllers',
'models',
......
/*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();
......
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false */
/*global enyo:false */
// The footer section
enyo.kind({
name: 'ToDo.FooterView',
......
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false */
/*global enyo:false */
enyo.kind({
name: 'ToDo.NotepadFooterView',
tag: 'footer',
......
/*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',
......
/*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',
......
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false */
/*global enyo:false */
// This is the notepad area
enyo.kind({
name: 'ToDo.NotepadView',
......
/*jshint strict:false*/
/*global enyo:false*/
/*jshint strict:false */
/*global enyo:false */
// Top level window
enyo.kind({
name: 'ToDo.WindowView',
......
/*global enyo:false*/
/*global enyo:false */
enyo.depends(
'NotepadMainView.js',
'NotepadHeaderView.js',
......
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