|
72 | 72 | * <li>Opera has poor support for SVG loading with XHR</li> |
73 | 73 | * <li>CSS loading in Android and Safari will not work with tags (currently, a workaround is in progress)</li> |
74 | 74 | * <li>Local loading is not permitted with XHR, which is required by some file formats. When testing local content |
75 | | - * use either a local server, or enable tag loading, which is supported for most formats. See {{#crossLink "LoadQueue/setUseXHR"}}{{/crossLink}} |
| 75 | + * use either a local server, or enable tag loading, which is supported for most formats. See {{#crossLink "LoadQueue/setPreferXHR"}}{{/crossLink}} |
76 | 76 | * for more information.</li> |
77 | 77 | * </ul> |
78 | 78 | * |
@@ -432,14 +432,6 @@ this.createjs = this.createjs || {}; |
432 | 432 | p.init = function (preferXHR, basePath, crossOrigin) { |
433 | 433 |
|
434 | 434 | // public properties |
435 | | - /** |
436 | | - * @property useXHR |
437 | | - * @type {Boolean} |
438 | | - * @readonly |
439 | | - * @default true |
440 | | - * @deprecated Use preferXHR instead. |
441 | | - */ |
442 | | - this.useXHR = true; |
443 | 435 |
|
444 | 436 | /** |
445 | 437 | * Try and use XMLHttpRequest (XHR) when possible. Note that LoadQueue will default to tag loading or XHR |
@@ -617,27 +609,6 @@ this.createjs = this.createjs || {}; |
617 | 609 | }; |
618 | 610 |
|
619 | 611 | // static properties |
620 | | - /** |
621 | | - * The time in milliseconds to assume a load has failed. An {{#crossLink "AbstractLoader/error:event"}}{{/crossLink}} |
622 | | - * event is dispatched if the timeout is reached before any data is received. |
623 | | - * @property loadTimeout |
624 | | - * @type {Number} |
625 | | - * @default 8000 |
626 | | - * @static |
627 | | - * @since 0.4.1 |
628 | | - * @deprecated In favour of the LoadItem.LOAD_TIMEOUT_DEFAULT property. |
629 | | - */ |
630 | | - s.loadTimeout = 8000; |
631 | | - |
632 | | - /** |
633 | | - * The time in milliseconds to assume a load has failed. |
634 | | - * @property LOAD_TIMEOUT |
635 | | - * @type {Number} |
636 | | - * @default 0 |
637 | | - * @deprecated in favor of the LoadQueue.loadTimeout property. |
638 | | - */ |
639 | | - s.LOAD_TIMEOUT = 0; |
640 | | - |
641 | 612 |
|
642 | 613 | // events |
643 | 614 | /** |
@@ -709,19 +680,6 @@ this.createjs = this.createjs || {}; |
709 | 680 | } |
710 | 681 | }; |
711 | 682 |
|
712 | | - /** |
713 | | - * @method setUseXHR |
714 | | - * @param {Boolean} value The new useXHR value to set. |
715 | | - * @return {Boolean} The new useXHR value. If XHR is not supported by the browser, this will return false, even if |
716 | | - * the provided value argument was true. |
717 | | - * @since 0.3.0 |
718 | | - * @deprecated use the {{#crossLink "LoadQueue/preferXHR:property"}}{{/crossLink}} property, or the |
719 | | - * {{#crossLink "LoadQueue/setUseXHR"}}{{/crossLink}} method instead. |
720 | | - */ |
721 | | - p.setUseXHR = function (value) { |
722 | | - return this.setPreferXHR(value); |
723 | | - }; |
724 | | - |
725 | 683 | /** |
726 | 684 | * Change the {{#crossLink "preferXHR:property"}}{{/crossLink}} value. Note that if this is set to `true`, it may |
727 | 685 | * fail, or be ignored depending on the browser's capabilities and the load type. |
|
0 commit comments