Skip to content

Commit

Permalink
Any file that reference dojo.isIE etc. needs to include sniff.js, thi…
Browse files Browse the repository at this point in the history
…s 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
  • Loading branch information
wkeese committed Apr 15, 2011
1 parent da79d6a commit 5aba804
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _base/event.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["./kernel", "./connect"], function(dojo){
define(["./kernel", "./connect", "./sniff"], function(dojo){
// module:
// dojo/_base/event
// summary:
Expand Down
2 changes: 1 addition & 1 deletion _base/fx.js
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _base/html.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["./kernel", "./lang"], function(dojo){
define(["./kernel", "./lang", "./sniff"], function(dojo){
// module:
// dojo/_base/html
// summary:
Expand Down
3 changes: 2 additions & 1 deletion _base/lang.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(["./kernel", "../has"], function(dojo, has){
define(["./kernel", "../has", "./sniff"], function(dojo, has){
// module:
// dojo/_base/lang
// summary:
Expand Down Expand Up @@ -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){
Expand Down

0 comments on commit 5aba804

Please sign in to comment.