Skip to content

Commit

Permalink
removed chrome specific debugging lines
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Nov 15, 2011
1 parent fdea6fe commit 9432104
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions backbone-indexeddb.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,6 @@
this.db = null;
this.dbRequest = indexedDB.open(this.schema.id, this.schema.description || "");

/* DEBUG PURPOSES */
window.onbeforeunload = function() {
// db.close();
chrome.extension.sendRequest({ signature: "debug", params: {message: "DIE"}}, function (response) {});
// this.transactions.forEach(function(trans) {
// chrome.extension.sendRequest({ signature: "debug", params: {message: "abort"}}, function (response) {});
// trans.abort();
// });
// this.connection.close();

}
/* DEBUG PURPOSES */

this.dbRequest.onsuccess = function (e) {
this.db = e.target.result; // Attach the connection ot the queue.

Expand Down

0 comments on commit 9432104

Please sign in to comment.