Permalink
Browse files

Serenade: update compiled coffeescript

  • Loading branch information...
1 parent 0b22b36 commit 5d41ef7d0f37e0ea242467546ee41c602151d287 @passy passy committed Feb 27, 2014
Showing with 2 additions and 3 deletions.
  1. +2 −3 labs/architecture-examples/serenadejs/js/app.js
View
5 labs/architecture-examples/serenadejs/js/app.js
@@ -1,4 +1,4 @@
-// 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;
}

0 comments on commit 5d41ef7

Please sign in to comment.