Commit e1843aab authored by Sindre Sorhus's avatar Sindre Sorhus

Ember.js + require app: cleanup

parent 93a7b965
# Ember.js + Require.js • [TodoMVC](http://todomvc.com)
## Running tests
To fire specs runner, append `#specs` to the url in address bar,
and reload the webpage.
To fire specs runner, append `#specs` to the url in address bar, and reload the webpage.
## Credit
Initial release by @tomdale.
Refactoring and maintenance by @stas.
Refactoring and maintenance by @stas.
\ No newline at end of file
......@@ -19,11 +19,12 @@
<p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p>
<p>
Created by <a href="http://github.com/tomdale/">Tom Dale</a>,
<a href="http://github.com/stas/">Стас Сушков</a>
Created by
<a href="http://github.com/tomdale">Tom Dale</a>,
<a href="http://github.com/stas">Стас Сушков</a>
</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<script data-main="js/app.js" src="js/lib/require/require.js"></script>
</body>
</html>
</html>
\ No newline at end of file
......@@ -51,7 +51,7 @@ define('app/controllers/entries', ['ember'],
this.setEach( 'completed', value );
return value;
} else {
return !!this.get( 'length' ) &&
return !!this.get( 'length' ) &&
this.everyProperty( 'completed', true );
}
}.property( '@each.completed' ),
......@@ -66,4 +66,4 @@ define('app/controllers/entries', ['ember'],
}
});
}
);
);
\ No newline at end of file
......@@ -117,4 +117,4 @@ define('app/controllers/todos', [
}
});
}
);
);
\ No newline at end of file
......@@ -77,4 +77,4 @@ define('app/models/store', [
};
};
}
);
);
\ No newline at end of file
......@@ -17,4 +17,4 @@ define('app/models/todo', ['ember'],
}.observes( 'title', 'completed' )
});
}
);
);
\ No newline at end of file
......@@ -62,4 +62,4 @@ describe( 'controllers/todos', function() {
done();
});
});
});
\ No newline at end of file
......@@ -28,4 +28,4 @@ describe( 'models/store', function() {
store.remove( todo );
});
});
});
\ No newline at end of file
......@@ -26,4 +26,4 @@ describe( 'views/*', function() {
});
});
});
});
\ No newline at end of file
Clear completed ({{completedCount}})
Clear completed ({{completedCount}})
\ No newline at end of file
......@@ -10,4 +10,4 @@
{{else}}
{{view Todos.todosController.todoEditor todoBinding="content" valueBinding="content.title"}}
{{/unless}}
{{/collection}}
{{/collection}}
\ 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