Skip to content

Commit 3e7606e

Browse files
author
Parashuram
committed
Corrected the jquery file to remove duplicate reference to indexedDB variable
1 parent 8189651 commit 3e7606e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

jquery.indexeddb.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@
266266
//}, 1);
267267
}
268268

269-
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
270269
var dbOpenReq = version ? indexedDB.open(dbName, version) : indexedDB.open(dbName);
271270
var result = new IDBRequest();
272271
dbOpenReq.onsuccess = function(e){

lib/demoer/demoer.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ var getUrls = function(container, callback){
2222
E.setAttribute("FirebugLite", "4");
2323
document.getElementsByTagName('body')[0].appendChild(E);
2424
E.onload = function(){
25-
$("#examples").height(window.innerHeight - $("#FirebugUI").height() - $("h1").parent().height()).css("overflow-y", "scroll");
25+
Firebug.DOM.addListener("onHSplitterMouseMove", function(){
26+
console.log("Resized");
27+
})
2628
}
2729
var count = 0;
2830
var timerHandle = window.setInterval(function(){
@@ -84,4 +86,11 @@ var loadDemoes = function(container, exampleList){
8486
var root = $(this).parent().parent();
8587
run(root.find(".code-linq").children(".code").text(), root.find("a.example-title").html());
8688
});
89+
90+
$("#examples").css("overflow-y", "scroll");
91+
function resize(){
92+
var h = window.innerHeight - $("#FirebugUI").height() - $("h1").parent().height();
93+
$("#examples").height(h);
94+
height = h;
95+
}
8796
};

0 commit comments

Comments
 (0)