Skip to content

Commit

Permalink
Don't reuse test frames.
Browse files Browse the repository at this point in the history
As per previous commit, it's not really reliable.
  • Loading branch information
joseph committed Dec 13, 2011
1 parent 3857423 commit ae383f6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/compat/env.js
Expand Up @@ -15,7 +15,6 @@ Monocle.Env = function () {
var frameLoadCallback = null;
var testFrame = null;
var testFrameCntr = null;
var testFrameLastSrc = null;
var testFrameSize = 100;
var surveyCallback = null;

Expand Down Expand Up @@ -91,10 +90,6 @@ Monocle.Env = function () {
frameLoadCallback = cb;

src = src || 4;
if (src == testFrameLastSrc) {
return frameLoadCallback();
}
testFrameLastSrc = src;

if (typeof src == "number") {
var pgs = [];
Expand Down

0 comments on commit ae383f6

Please sign in to comment.