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