]> git.wh0rd.org - tt-rss.git/blame - lib/dijit/robotx.js
remove call-by-reference to comply with php 5.4
[tt-rss.git] / lib / dijit / robotx.js
CommitLineData
2f01fe57 1/*
81bea17a 2 Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
2f01fe57
AD
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
5*/
6
7
81bea17a
AD
8if(!dojo._hasResource["dijit.robotx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
9dojo._hasResource["dijit.robotx"] = true;
2f01fe57
AD
10dojo.provide("dijit.robotx");
11dojo.require("dijit.robot");
12dojo.require("dojo.robotx");
81bea17a
AD
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
2f01fe57
AD
18dojo.experimental("dijit.robotx");
19(function(){
81bea17a
AD
20var __updateDocument = doh.robot._updateDocument;
21
22dojo.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
2f01fe57 32})();
81bea17a 33
2f01fe57 34}