vendor/assets/javascripts/dijit/BackgroundIframe.js in dijit-rails-0.11.0 vs vendor/assets/javascripts/dijit/BackgroundIframe.js in dijit-rails-0.14.0

- old
+ new

@@ -1,7 +1,8 @@ //>>built define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff","dojo/_base/window"],function(_1,_2,_3,_4,_5,_6,on,_7,_8){ +_7.add("bgIframe",_7("ie")||_7("mozilla")); var _9=new function(){ var _a=[]; this.pop=function(){ var _b; if(_a.length){ @@ -30,10 +31,10 @@ }(); _2.BackgroundIframe=function(_f){ if(!_f.id){ throw new Error("no id"); } -if(_7("ie")||_7("mozilla")){ +if(_7("bgIframe")){ var _10=(this.iframe=_9.pop()); _f.appendChild(_10); if(_7("ie")<7||_7("quirks")){ this.resize(_f); this._conn=on(_f,"resize",_6.hitch(this,function(){