Skip to content

Commit

Permalink
clean comments
Browse files Browse the repository at this point in the history
  • Loading branch information
greenido committed Nov 29, 2011
1 parent 7720c72 commit a782413
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions todo-webSQL-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ <h3>Todos</h3>
tx.executeSql('SELECT * FROM tasks', [], function (tx, results) {
var len = results.rows.length, i;
for (i = 0; i < len; i++) {
// var element = document.createElement("div");
var li = document.createElement("li");
var t = document.createTextNode(i+ ") key: " + results.rows.item(i).id +
" => Todo text: " + results.rows.item(i).text);
Expand All @@ -84,7 +83,6 @@ <h3>Todos</h3>
}, false);
li.appendChild(t);
li.appendChild(a);
// element.appendChild(li);
document.getElementById("ourList").appendChild(li);
}
});
Expand Down Expand Up @@ -119,7 +117,7 @@ <h3>Todos</h3>
}
}

//
// start the party
$(function() {
console.log("-- started the main page and init our DB --");
initDB();
Expand Down

0 comments on commit a782413

Please sign in to comment.