OLD | NEW |
1 /* | 1 /* |
2 Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. | 2 Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. |
3 Available via Academic Free License >= 2.1 OR the modified BSD license. | 3 Available via Academic Free License >= 2.1 OR the modified BSD license. |
4 see: http://dojotoolkit.org/license for details | 4 see: http://dojotoolkit.org/license for details |
5 */ | 5 */ |
6 | 6 |
7 /* | 7 /* |
8 This is a compiled version of Dojo, built for deployment and not for | 8 This is a compiled version of Dojo, built for deployment and not for |
9 development. To get an editable version, please visit: | 9 development. To get an editable version, please visit: |
10 | 10 |
(...skipping 2569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2580 // | } | 2580 // | } |
2581 // | }, 100); | 2581 // | }, 100); |
2582 // | return d; | 2582 // | return d; |
2583 // | } | 2583 // | } |
2584 // | 2584 // |
2585 // | // using Deferred style | 2585 // | // using Deferred style |
2586 // | renderLotsOfData(someDataObj).addErrback(functio
n(){ | 2586 // | renderLotsOfData(someDataObj).addErrback(functio
n(){ |
2587 // | promptUserToRecover(); | 2587 // | promptUserToRecover(); |
2588 // | }); | 2588 // | }); |
2589 // | 2589 // |
2590 » //» » Note that the caller doesn't have to change his code at
all to | 2590 » //» » Note that callers don't have to change their code at all
to |
2591 // handle the asynchronous case. | 2591 // handle the asynchronous case. |
2592 | 2592 |
2593 this.chain = []; | 2593 this.chain = []; |
2594 this.id = this._nextId(); | 2594 this.id = this._nextId(); |
2595 this.fired = -1; | 2595 this.fired = -1; |
2596 this.paused = 0; | 2596 this.paused = 0; |
2597 this.results = [null, null]; | 2597 this.results = [null, null]; |
2598 this.canceller = canceller; | 2598 this.canceller = canceller; |
2599 this.silentlyCancelled = false; | 2599 this.silentlyCancelled = false; |
2600 }; | 2600 }; |
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4183 // "content-box" (default) | 4183 // "content-box" (default) |
4184 dojo.boxModel = "content-box"; | 4184 dojo.boxModel = "content-box"; |
4185 | 4185 |
4186 // We punt per-node box mode testing completely. | 4186 // We punt per-node box mode testing completely. |
4187 // If anybody cares, we can provide an additional (optional) unit | 4187 // If anybody cares, we can provide an additional (optional) unit |
4188 // that overrides existing code to include per-node box sensitivity. | 4188 // that overrides existing code to include per-node box sensitivity. |
4189 | 4189 |
4190 // Opera documentation claims that Opera 9 uses border-box in BackCompat
mode. | 4190 // Opera documentation claims that Opera 9 uses border-box in BackCompat
mode. |
4191 // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it a
ctually continues to use content-box. | 4191 // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it a
ctually continues to use content-box. |
4192 // IIRC, earlier versions of Opera did in fact use border-box. | 4192 // IIRC, earlier versions of Opera did in fact use border-box. |
4193 » // Opera guys, this is really confusing. Opera being broken in quirks mo
de is not our fault. | 4193 » // Opera people, this is really confusing. Opera being broken in quirks
mode is not our fault. |
4194 | 4194 |
4195 if(d.isIE /*|| dojo.isOpera*/){ | 4195 if(d.isIE /*|| dojo.isOpera*/){ |
4196 var _dcm = document.compatMode; | 4196 var _dcm = document.compatMode; |
4197 // client code may have to adjust if compatMode varies across if
rames | 4197 // client code may have to adjust if compatMode varies across if
rames |
4198 d.boxModel = _dcm == "BackCompat" || _dcm == "QuirksMode" || d.i
sIE<6 ? "border-box" : "content-box"; // FIXME: remove IE < 6 support? | 4198 d.boxModel = _dcm == "BackCompat" || _dcm == "QuirksMode" || d.i
sIE<6 ? "border-box" : "content-box"; // FIXME: remove IE < 6 support? |
4199 } | 4199 } |
4200 | 4200 |
4201 // ============================= | 4201 // ============================= |
4202 // Style Functions | 4202 // Style Functions |
4203 // ============================= | 4203 // ============================= |
(...skipping 4245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8449 if(dojo.config.afterOnLoad && dojo.isBrowser){ | 8449 if(dojo.config.afterOnLoad && dojo.isBrowser){ |
8450 //Dojo is being added to the page after page load, so just trigg
er | 8450 //Dojo is being added to the page after page load, so just trigg
er |
8451 //the init sequence after a timeout. Using a timeout so the rest
of this | 8451 //the init sequence after a timeout. Using a timeout so the rest
of this |
8452 //script gets evaluated properly. This work needs to happen afte
r the | 8452 //script gets evaluated properly. This work needs to happen afte
r the |
8453 //dojo.config.require work done in dojo._base. | 8453 //dojo.config.require work done in dojo._base. |
8454 window.setTimeout(dojo._fakeLoadInit, 1000); | 8454 window.setTimeout(dojo._fakeLoadInit, 1000); |
8455 } | 8455 } |
8456 | 8456 |
8457 })(); | 8457 })(); |
8458 | 8458 |
OLD | NEW |