Permalink
Browse files

Don't reuse test frames.

As per previous commit, it's not really reliable.
  • Loading branch information...
1 parent 3857423 commit ae383f6b50e6a7e6ca9ded756a61fd55cb0fe788 @joseph joseph committed Dec 13, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/compat/env.js
View
@@ -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;
@@ -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 = [];

0 comments on commit ae383f6

Please sign in to comment.