From 5aba80408787b439168d3ff4be19877f2f8314dd Mon Sep 17 00:00:00 2001 From: Bill Keese Date: Fri, 15 Apr 2011 13:38:19 +0000 Subject: [PATCH] Any file that reference dojo.isIE etc. needs to include sniff.js, this fixes many (but not all) of the test failures on IE. Refs #12672 !strict. git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@24352 560b804f-0ae3-0310-86f3-f6aa0a117693 --- _base/event.js | 2 +- _base/fx.js | 2 +- _base/html.js | 2 +- _base/lang.js | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/_base/event.js b/_base/event.js index f5ca716a67..33a6b6df29 100644 --- a/_base/event.js +++ b/_base/event.js @@ -1,4 +1,4 @@ -define(["./kernel", "./connect"], function(dojo){ +define(["./kernel", "./connect", "./sniff"], function(dojo){ // module: // dojo/_base/event // summary: diff --git a/_base/fx.js b/_base/fx.js index 633e1af7d3..6059683f4c 100644 --- a/_base/fx.js +++ b/_base/fx.js @@ -1,4 +1,4 @@ -define(["./kernel", "./Color", "./connect", "./lang", "./html"], function(dojo){ +define(["./kernel", "./Color", "./connect", "./lang", "./html", "./sniff"], function(dojo){ // module: // dojo/_base/fx // summary: diff --git a/_base/html.js b/_base/html.js index fd06f57c40..74eb8c1ad8 100644 --- a/_base/html.js +++ b/_base/html.js @@ -1,4 +1,4 @@ -define(["./kernel", "./lang"], function(dojo){ +define(["./kernel", "./lang", "./sniff"], function(dojo){ // module: // dojo/_base/html // summary: diff --git a/_base/lang.js b/_base/lang.js index 9331833614..8413f1fe8d 100644 --- a/_base/lang.js +++ b/_base/lang.js @@ -1,4 +1,4 @@ -define(["./kernel", "../has"], function(dojo, has){ +define(["./kernel", "../has", "./sniff"], function(dojo, has){ // module: // dojo/_base/lang // summary: @@ -212,6 +212,7 @@ define(["./kernel", "../has"], function(dojo, has){ }; //>>excludeEnd("webkitMobile"); + console.log("defining dojo._toArray, d.isIE = " + d.isIE); dojo._toArray = //>>excludeStart("webkitMobile", kwArgs.webkitMobile); d.isIE ? function(obj){