]> git.wh0rd.org - tt-rss.git/blob - lib/dijit/robotx.js
remove call-by-reference to comply with php 5.4
[tt-rss.git] / lib / dijit / robotx.js
1 /*
2 Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
5 */
6
7
8 if(!dojo._hasResource["dijit.robotx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
9 dojo._hasResource["dijit.robotx"] = true;
10 dojo.provide("dijit.robotx");
11 dojo.require("dijit.robot");
12 dojo.require("dojo.robotx");
13
14
15 //WARNING: This module depends on GLOBAL dijit being set for v1.5 code; therefore the lexical variable that
16 //references "dijit" has been renamed to "dijit_"
17
18 dojo.experimental("dijit.robotx");
19 (function(){
20 var __updateDocument = doh.robot._updateDocument;
21
22 dojo.mixin(doh.robot,{
23 _updateDocument: function(){
24 __updateDocument();
25 var win = dojo.global;
26 if(win["dijit"]){
27 window.dijit = win.dijit; // window reference needed for IE
28 }
29 }
30 });
31
32 })();
33
34 }