From 355e3044bb152ade7ab293d05b9abe3471d3ef51 Mon Sep 17 00:00:00 2001 From: Bill Keese Date: Fri, 15 Apr 2011 13:58:17 +0000 Subject: [PATCH] fix has("ie"), refs #12672 !strict git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@24353 560b804f-0ae3-0310-86f3-f6aa0a117693 --- _base/lang.js | 1 - _base/sniff.js | 2 +- _base/xhr.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/_base/lang.js b/_base/lang.js index 8413f1fe8d..2f6ae48a2f 100644 --- a/_base/lang.js +++ b/_base/lang.js @@ -212,7 +212,6 @@ define(["./kernel", "../has", "./sniff"], function(dojo, has){ }; //>>excludeEnd("webkitMobile"); - console.log("defining dojo._toArray, d.isIE = " + d.isIE); dojo._toArray = //>>excludeStart("webkitMobile", kwArgs.webkitMobile); d.isIE ? function(obj){ diff --git a/_base/sniff.js b/_base/sniff.js index c6b9c2d6a2..0445131a6b 100644 --- a/_base/sniff.js +++ b/_base/sniff.js @@ -89,7 +89,7 @@ define(["./kernel", "../has"], function(dojo, has){ has.add("mac ", dojo.isMac = isMac ); has.add("safari", dojo.isSafari= isSafari); has.add("mozilla ", dojo.isMozilla = dojo.isMoz = isMozilla ); - has.add("ie ", dojo.isIE = isIE ); + has.add("ie", dojo.isIE = isIE ); has.add("ff", dojo.isFF= isFF); has.add("quirks", dojo.isQuirks= isQuirks); diff --git a/_base/xhr.js b/_base/xhr.js index 41d0db731f..ae8fa54298 100644 --- a/_base/xhr.js +++ b/_base/xhr.js @@ -1,4 +1,4 @@ -define(["./kernel", "../has", "require", "./Deferred", "./json", "./lang", "./query"], function(dojo, has, require){ +define(["./kernel", "../has", "../sniff", "require", "./Deferred", "./json", "./lang", "./query"], function(dojo, has, require){ // module: // dojo/_base.xhr // summary: