Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't reuse test frames.

As per previous commit, it's not really reliable.
  • Loading branch information...
commit ae383f6b50e6a7e6ca9ded756a61fd55cb0fe788 1 parent 3857423
Joseph Pearson joseph authored

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. +0 5 src/compat/env.js
5 src/compat/env.js
@@ -15,7 +15,6 @@ Monocle.Env = function () {
15 15 var frameLoadCallback = null;
16 16 var testFrame = null;
17 17 var testFrameCntr = null;
18   - var testFrameLastSrc = null;
19 18 var testFrameSize = 100;
20 19 var surveyCallback = null;
21 20
@@ -91,10 +90,6 @@ Monocle.Env = function () {
91 90 frameLoadCallback = cb;
92 91
93 92 src = src || 4;
94   - if (src == testFrameLastSrc) {
95   - return frameLoadCallback();
96   - }
97   - testFrameLastSrc = src;
98 93
99 94 if (typeof src == "number") {
100 95 var pgs = [];

0 comments on commit ae383f6

Please sign in to comment.
Something went wrong with that request. Please try again.