Changeset 11219

Show
Ignore:
Timestamp:
10/30/07 03:58:25 (13 months ago)
Author:
alex
Message:

minor nits. Refs #3961. I'm still very unhappy about how much space the gears detection code takes up.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/window.js

    r11069 r11219  
    11dojo.provide("dojo._base.window"); 
    2  
    32 
    43dojo._gearsObject = function(){ 
     
    4948 
    5049// @global: dojo.doc 
     50 
    5151// summary: 
    5252//              Current document object. 'dojo.doc' can be modified 
     
    7979dojo._fireCallback = function(callback, context, cbArguments){ 
    8080        // FIXME: should migrate to using "dojo.isString"! 
    81         if((context)&&((typeof callback == "string")||(callback instanceof String))){ 
     81        if(context && dojo.isString(callback)){ 
    8282                callback = context[callback]; 
    8383        }