Commit 5d41ef7d authored by Pascal Hartig's avatar Pascal Hartig

Serenade: update compiled coffeescript

parent 0b22b363
// Generated by CoffeeScript 1.6.2
// Generated by CoffeeScript 1.6.3
(function() {
var App, AppController, Todo, TodoController, app, router, _ref, _ref1,
__hasProp = {}.hasOwnProperty,
......@@ -85,7 +85,6 @@
},
set: function(value) {
var todo, _i, _len, _ref2, _results;
_ref2 = this.all;
_results = [];
for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
......@@ -137,7 +136,6 @@
AppController.prototype.newTodo = function() {
var title;
title = this.app.newTitle.trim();
if (title) {
this.app.all.push({
......@@ -171,6 +169,7 @@
TodoController.prototype.edited = function() {
if (this.todo.title.trim()) {
this.todo.title = this.todo.title.trim();
if (this.todo.edit) {
this.todo.edit = false;
}
......
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