Changeset 7987

Show
Ignore:
Timestamp:
04/07/07 15:43:18 (17 months ago)
Author:
jburke
Message:

Refs #2608. Changing dojo.global() and doc() to properties for smaller code size and performance. No credible use case to have them as functions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • util/trunk/buildscripts/jslib/buildUtil.js

    r7986 r7987  
    4747                load("../../dojo/_base/_loader/loader.js"); 
    4848                load("../../dojo/_base/_loader/hostenv_rhino.js"); 
    49                 dojo._currentContext = {}; 
     49                dojo.global = {}; 
    5050        } 
    5151 
     
    230230                dojo["eval"] = dojo._oldEval; // restore the original dojo.eval function 
    231231 
    232                 var djGlobal = dojo._currentContext; 
     232                var djGlobal = dojo.global; 
    233233                djGlobal['djConfig'] = undefined; 
    234234