Commit b461a23c authored by Sindre Sorhus's avatar Sindre Sorhus

Batman.js: Replace lib with minified

parent eec8f49f
......@@ -68,7 +68,7 @@
</footer>
</div>
<script src="../../../assets/base.js"></script>
<script src="js/lib/batman.js"></script>
<script src="js/lib/batman.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -16,9 +16,9 @@
Alfred.root('todos#all');
Alfred.route("/completed", "todos#completed");
Alfred.route('/completed', 'todos#completed');
Alfred.route("/active", "todos#active");
Alfred.route('/active', 'todos#active');
return Alfred;
......@@ -118,7 +118,6 @@
editing = todo.set('editing', !todo.get('editing'));
if (editing) {
input = document.getElementById("todo-input-" + (todo.get('id')));
input.focus();
return input.select();
} else {
if (((_ref = todo.get('title')) != null ? _ref.length : void 0) > 0) {
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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