From: Kai Moritz Date: Thu, 28 Feb 2013 14:11:05 +0000 (+0100) Subject: Fetch on resize: separated zone-analysis from fetching X-Git-Tag: 0.2.0~5 X-Git-Url: https://juplo.de/gitweb/?p=openx;a=commitdiff_plain;h=8bf0530c43be94c835d313b572da3569a4c878b8 Fetch on resize: separated zone-analysis from fetching --- diff --git a/jquery.openx.js b/jquery.openx.js index 3f3669f..d687dfa 100644 --- a/jquery.openx.js +++ b/jquery.openx.js @@ -95,8 +95,6 @@ */ $.openx = function( options ) { - var name, src, errors = [], i; - if (domain) { if (console.error) { console.error('jQuery.openx was already initialized!'); @@ -111,12 +109,9 @@ _options = options; - if (!options.server) - errors.push('Required option "server" is missing!'); - if (errors.length > 0) { + if (!options.server) { if (console.error) { - for (i=0; i