Permalink
Browse files

Merge branch 'master' into prettify

  • Loading branch information...
2 parents 55699a4 + 626c957 commit 8887b1a49e196f4b9c83d34f680fed5ceb785d3b @derek derek committed Oct 12, 2012
Showing with 5,816 additions and 2,767 deletions.
  1. +457 −451 build/dial/dial-coverage.js
  2. +206 −199 build/dial/dial-debug.js
  3. +1 −1 build/dial/dial-min.js
  4. +206 −199 build/dial/dial.js
  5. +70 −69 build/io-base/io-base-coverage.js
  6. +9 −7 build/io-base/io-base-debug.js
  7. +1 −1 build/io-base/io-base-min.js
  8. +9 −7 build/io-base/io-base.js
  9. +2 −2 build/io-nodejs/io-nodejs-coverage.js
  10. +1 −1 build/io-nodejs/io-nodejs-debug.js
  11. +1 −1 build/io-nodejs/io-nodejs.js
  12. +891 −890 build/loader-base/loader-base-coverage.js
  13. +3 −2 build/loader-base/loader-base-debug.js
  14. +1 −1 build/loader-base/loader-base-min.js
  15. +3 −2 build/loader-base/loader-base.js
  16. +2 −2 build/loader-yui3/loader-yui3-coverage.js
  17. +1 −1 build/loader-yui3/loader-yui3-debug.js
  18. +1 −1 build/loader-yui3/loader-yui3-min.js
  19. +1 −1 build/loader-yui3/loader-yui3.js
  20. +4 −3 build/loader/loader-debug.js
  21. +1 −1 build/loader/loader-min.js
  22. +4 −3 build/loader/loader.js
  23. +255 −248 build/matrix/matrix-coverage.js
  24. +7 −0 build/matrix/matrix-debug.js
  25. +7 −0 build/matrix/matrix.js
  26. +20 −16 build/simpleyui/simpleyui-debug.js
  27. +1 −1 build/simpleyui/simpleyui-min.js
  28. +20 −16 build/simpleyui/simpleyui.js
  29. +3 −3 build/transition/transition-coverage.js
  30. +2 −2 build/transition/transition-debug.js
  31. +1 −1 build/transition/transition-min.js
  32. +2 −2 build/transition/transition.js
  33. +8 −9 build/yql-nodejs/yql-nodejs-coverage.js
  34. +0 −1 build/yql-nodejs/yql-nodejs-debug.js
  35. +0 −1 build/yql-nodejs/yql-nodejs.js
  36. +36 −35 build/yui-base/yui-base-coverage.js
  37. +5 −4 build/yui-base/yui-base-debug.js
  38. +1 −1 build/yui-base/yui-base-min.js
  39. +5 −4 build/yui-base/yui-base.js
  40. +36 −35 build/yui-core/yui-core-coverage.js
  41. +5 −4 build/yui-core/yui-core-debug.js
  42. +1 −1 build/yui-core/yui-core-min.js
  43. +5 −4 build/yui-core/yui-core.js
  44. +36 −35 build/yui-nodejs/yui-nodejs-coverage.js
  45. +10 −7 build/yui-nodejs/yui-nodejs-debug.js
  46. +1 −1 build/yui-nodejs/yui-nodejs-min.js
  47. +10 −7 build/yui-nodejs/yui-nodejs.js
  48. +36 −35 build/yui/yui-coverage.js
  49. +10 −7 build/yui/yui-debug.js
  50. +1 −1 build/yui/yui-min.js
  51. +10 −7 build/yui/yui.js
  52. +22 −0 src/app/HISTORY.md
  53. +1 −1 src/app/docs/app/index.mustache
  54. +11 −4 src/app/docs/model/index.mustache
  55. +0 −1 src/async-queue/tests/unit/async-queue.html
  56. +20 −0 src/cache/HISTORY.md
  57. +37 −0 src/charts/tests/manual/combonegativedata.html
  58. +39 −0 src/charts/tests/manual/combonullvalues.html
  59. +40 −0 src/charts/tests/manual/combopositiveandnegativedata.html
  60. +38 −0 src/charts/tests/manual/comboshowareafillnegativedata.html
  61. +41 −0 src/charts/tests/manual/comboshowareafillnullvalues.html
  62. +41 −0 src/charts/tests/manual/comboshowareafillpositiveandnegativedata.html
  63. +41 −0 src/charts/tests/manual/comboshowareafillzerovalues.html
  64. +38 −0 src/charts/tests/manual/combospline.html
  65. +38 −0 src/charts/tests/manual/combosplinenegativedata.html
  66. +41 −0 src/charts/tests/manual/combosplinepositiveandnegativedata.html
  67. +39 −0 src/charts/tests/manual/combosplineshowareafillnegativedata.html
  68. +43 −0 src/charts/tests/manual/combosplineshowareafillpositiveandnegativedata.html
  69. +42 −0 src/charts/tests/manual/combosplineshowareafillzerovalues.html
  70. +41 −0 src/charts/tests/manual/combosplinezerovalues.html
  71. +40 −0 src/charts/tests/manual/combozerovalues.html
  72. +36 −0 src/charts/tests/manual/multidimensionalarraycombo.html
  73. +37 −0 src/charts/tests/manual/multidimensionalarraycomboshowareafill.html
  74. +42 −0 src/charts/tests/manual/multipleseries.html
  75. +41 −0 src/charts/tests/manual/multipleseriescombospline.html
  76. +43 −0 src/charts/tests/manual/multipleseriescombosplineshowareafill.html
  77. +42 −0 src/charts/tests/manual/multipleseriesshowareafill.html
  78. +37 −0 src/charts/tests/manual/multiseriesmultiarray.html
  79. +37 −0 src/charts/tests/manual/multiseriesmultiarrayshowareafill.html
  80. +37 −0 src/charts/tests/manual/objectliteralcombo.html
  81. +40 −0 src/charts/tests/manual/objectliteralcomboshowareafill.html
  82. +42 −0 src/charts/tests/manual/stackedcomboshowareafillnullvalues.html
  83. +42 −0 src/charts/tests/manual/stackedcomboshowareafillzerovalues.html
  84. +44 −0 src/charts/tests/manual/stackedcombosplineshowareafill.html
  85. +43 −0 src/charts/tests/manual/stackedcombosplineshowareafillzerovalues.html
  86. +43 −0 src/charts/tests/manual/stackedmultipleseriesshowareafill.html
  87. +38 −0 src/charts/tests/manual/verticalcombonegativedata.html
  88. +41 −0 src/charts/tests/manual/verticalcombonullvalues.html
  89. +41 −0 src/charts/tests/manual/verticalcombopositiveandnegativedata.html
  90. +39 −0 src/charts/tests/manual/verticalcomboshowareafillnegativedata.html
  91. +42 −0 src/charts/tests/manual/verticalcomboshowareafillnullvalues.html
  92. +42 −0 src/charts/tests/manual/verticalcomboshowareafillpositiveandnegativedata.html
  93. +42 −0 src/charts/tests/manual/verticalcomboshowareafillzerovalues.html
  94. +39 −0 src/charts/tests/manual/verticalcombospline.html
  95. +39 −0 src/charts/tests/manual/verticalcombosplinenegativedata.html
  96. +43 −0 src/charts/tests/manual/verticalcombosplinepositiveandnegativedata.html
  97. +39 −0 src/charts/tests/manual/verticalcombosplineshowareafill.html
  98. +40 −0 src/charts/tests/manual/verticalcombosplineshowareafillnegativedata.html
  99. +44 −0 src/charts/tests/manual/verticalcombosplineshowareafillpositiveandnegativedata.html
  100. +43 −0 src/charts/tests/manual/verticalcombosplineshowareafillzerovalues.html
  101. +42 −0 src/charts/tests/manual/verticalcombosplinezerovalues.html
  102. +41 −0 src/charts/tests/manual/verticalcombozerovalues.html
  103. +37 −0 src/charts/tests/manual/verticalmultidimensionalarraycombo.html
  104. +38 −0 src/charts/tests/manual/verticalmultidimensionalarraycomboshowareafill.html
  105. +42 −0 src/charts/tests/manual/verticalmultipleseries.html
  106. +43 −0 src/charts/tests/manual/verticalmultipleseriescombospline.html
  107. +43 −0 src/charts/tests/manual/verticalmultipleseriescombosplineshowareafill.html
  108. +43 −0 src/charts/tests/manual/verticalmultipleseriesshowareafill.html
  109. +37 −0 src/charts/tests/manual/verticalmultiseriesmultiarray.html
  110. +38 −0 src/charts/tests/manual/verticalmultiseriesmultiarrayshowareafill.html
  111. +40 −0 src/charts/tests/manual/verticalobjectliteralcombo.html
  112. +41 −0 src/charts/tests/manual/verticalobjectliteralcomboshowareafill.html
  113. +43 −0 src/charts/tests/manual/verticalstackedcomboshowareafillnullvalues.html
  114. +43 −0 src/charts/tests/manual/verticalstackedcomboshowareafillzerovalues.html
  115. +44 −0 src/charts/tests/manual/verticalstackedcombosplineshowareafill.html
  116. +44 −0 src/charts/tests/manual/verticalstackedcombosplineshowareafillzerovalues.html
  117. +44 −0 src/charts/tests/manual/verticalstackedmultipleseriesshowareafill.html
  118. +18 −0 src/collection/HISTORY.md
  119. +3 −0 src/common/node/parse.js
  120. +11 −6 src/common/tests/unit.xml
  121. +0 −1 src/datatable/tests/unit/datatable-sort.html
  122. +13 −0 src/dd/HISTORY.md
  123. +34 −21 src/dd/tests/unit/assets/dd-tests.js
  124. +206 −199 src/dial/js/Dial.js
  125. +1 −1 src/dom/tests/unit/dom-xy.html
  126. +13 −0 src/editor/HISTORY.md
  127. +21 −0 src/get/docs/index.mustache
  128. +26 −0 src/handlebars/HISTORY.md
  129. +3 −0 src/io/HISTORY.md
  130. +4 −6 src/io/js/io-base.js
  131. +1 −1 src/io/js/io-nodejs.js
  132. +5 −1 src/io/js/transports.js
  133. +4 −3 src/io/tests/cli/lib/nodejs-tests.js
  134. +10 −10 src/io/tests/cli/run.js
  135. +0 −17 src/io/tests/php/delete.php
  136. +0 −12 src/io/tests/php/get.php
  137. +0 −28 src/io/tests/php/http.php
  138. +0 −13 src/io/tests/php/post.php
  139. +0 −13 src/io/tests/php/put.php
  140. +0 −35 src/io/tests/smoketest.html
  141. +2 −1 src/io/tests/{ → unit}/index.html
  142. +4 −4 src/io/tests/{ → unit}/js/events-tests.js
  143. 0 src/io/tests/{ → unit}/js/facades-tests.js
  144. +1 −1 src/io/tests/{ → unit}/js/globalevents-tests.js
  145. 0 src/io/tests/{ → unit}/js/header-tests.js
  146. 0 src/io/tests/{ → unit}/js/instances-tests.js
  147. +6 −4 src/io/tests/{ → unit}/js/requests-tests.js
  148. 0 src/io/tests/{ → unit}/js/timeout-tests.js
  149. +2 −2 src/io/tests/{ → unit}/js/transport-tests.js
  150. 0 src/io/tests/{ → unit}/modules.js
  151. +11 −0 src/io/tests/unit/urls.js
  152. +0 −11 src/io/tests/urls.js
  153. +25 −8 src/json/tests/unit/assets/json-tests.js
  154. +22 −0 src/loader/HISTORY.md
  155. +1 −1 src/loader/build.json
  156. +2 −1 src/loader/js/loader.js
  157. +1 −1 src/loader/js/yui3.js
  158. +1 −1 src/loader/scripts/meta_join.js
  159. +7 −0 src/matrix/js/MatrixUtil.js
  160. +20 −0 src/overlay/HISTORY.md
  161. +20 −0 src/panel/HISTORY.md
  162. +18 −0 src/pjax/HISTORY.md
  163. +10 −0 src/resize/HISTORY.md
  164. +1 −1 src/scrollview/tests/unit/scrollview-base-unit-test.html
  165. +20 −16 src/simpleyui/js/concat.js
  166. +10 −0 src/sortable/HISTORY.md
  167. +4 −0 src/transition/HISTORY.md
  168. +2 −2 src/transition/js/transition-native.js
  169. +47 −0 src/transition/tests/transition.html
  170. +20 −0 src/widget-anim/HISTORY.md
  171. +20 −0 src/widget-autohide/HISTORY.md
  172. +21 −0 src/widget-buttons/HISTORY.md
  173. +20 −0 src/widget-child/HISTORY.md
  174. +20 −0 src/widget-modality/HISTORY.md
  175. +20 −0 src/widget-parent/HISTORY.md
  176. +20 −0 src/widget-position-align/HISTORY.md
  177. +20 −0 src/widget-position-constrain/HISTORY.md
  178. +20 −0 src/widget-position/HISTORY.md
  179. +20 −0 src/widget-stack/HISTORY.md
  180. +20 −0 src/widget-stdmod/HISTORY.md
  181. +17 −2 src/widget/HISTORY.md
  182. +19 −0 src/yui/HISTORY.md
  183. +5 −4 src/yui/js/yui-ua.js
  184. +1 −1 src/yui/tests/unit/assets/ua-tests.js
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -115,9 +115,9 @@ IO.prototype = {
use;
if (alt === 'native') {
- // Non-IE can use XHR level 2 and not rely on an
+ // Non-IE and IE >= 10 can use XHR level 2 and not rely on an
// external transport.
- alt = Y.UA.ie ? 'xdr' : null;
+ alt = Y.UA.ie && !SUPPORTS_CORS ? 'xdr' : null;
// Prevent "pre-flight" OPTIONS request by removing the
// `X-Requested-With` HTTP header from CORS requests. This header
@@ -707,10 +707,8 @@ IO.prototype = {
// Will work only in browsers that implement the
// Cross-Origin Resource Sharing draft.
- if (config.xdr && config.xdr.credentials) {
- if (!Y.UA.ie) {
- transaction.c.withCredentials = true;
- }
+ if (config.xdr && config.xdr.credentials && SUPPORTS_CORS) {
+ transaction.c.withCredentials = true;
}
// Using "null" with HTTP POST will result in a request
@@ -908,7 +906,11 @@ Y.IO = IO;
Y.io._map = {};
var XHR = win && win.XMLHttpRequest,
XDR = win && win.XDomainRequest,
- AX = win && win.ActiveXObject;
+ AX = win && win.ActiveXObject,
+
+ // Checks for the presence of the `withCredentials` in an XHR instance
+ // object, which will be present if the environment supports CORS.
+ SUPPORTS_CORS = XHR && 'withCredentials' in (new XMLHttpRequest());
Y.mix(Y.IO, {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -115,9 +115,9 @@ IO.prototype = {
use;
if (alt === 'native') {
- // Non-IE can use XHR level 2 and not rely on an
+ // Non-IE and IE >= 10 can use XHR level 2 and not rely on an
// external transport.
- alt = Y.UA.ie ? 'xdr' : null;
+ alt = Y.UA.ie && !SUPPORTS_CORS ? 'xdr' : null;
// Prevent "pre-flight" OPTIONS request by removing the
// `X-Requested-With` HTTP header from CORS requests. This header
@@ -706,10 +706,8 @@ IO.prototype = {
// Will work only in browsers that implement the
// Cross-Origin Resource Sharing draft.
- if (config.xdr && config.xdr.credentials) {
- if (!Y.UA.ie) {
- transaction.c.withCredentials = true;
- }
+ if (config.xdr && config.xdr.credentials && SUPPORTS_CORS) {
+ transaction.c.withCredentials = true;
}
// Using "null" with HTTP POST will result in a request
@@ -906,7 +904,11 @@ Y.IO = IO;
Y.io._map = {};
var XHR = win && win.XMLHttpRequest,
XDR = win && win.XDomainRequest,
- AX = win && win.ActiveXObject;
+ AX = win && win.ActiveXObject,
+
+ // Checks for the presence of the `withCredentials` in an XHR instance
+ // object, which will be present if the environment supports CORS.
+ SUPPORTS_CORS = XHR && 'withCredentials' in (new XMLHttpRequest());
Y.mix(Y.IO, {
Oops, something went wrong.

0 comments on commit 8887b1a

Please sign in to comment.