Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial flattening

  • Loading branch information...
commit 3be58ca4d51f6d5318161c25bbffe6a4b3dac3eb 1 parent d7db0dd
@daffl daffl authored
Showing with 926 additions and 410 deletions.
  1. 0  { → _old}/data/data.js
  2. 0  { → _old}/data/list/funcunit.html
  3. 0  { → _old}/data/list/list.css
  4. 0  { → _old}/data/list/list.html
  5. 0  { → _old}/data/list/list.js
  6. 0  { → _old}/data/list/list_test.js
  7. 0  { → _old}/data/list/views/list.ejs
  8. 0  { → _old}/data/order/funcunit.html
  9. 0  { → _old}/data/order/order.html
  10. 0  { → _old}/data/order/order.js
  11. 0  { → _old}/data/order/order_test.js
  12. 0  { → _old}/data/tree/fixture.js
  13. 0  { → _old}/data/tree/funcunit.html
  14. 0  { → _old}/data/tree/tree.html
  15. 0  { → _old}/data/tree/tree.js
  16. 0  { → _old}/data/tree/tree_test.js
  17. 0  { → _old}/data/tree/views/init.ejs
  18. 0  { → _old}/data/tree/views/list.ejs
  19. 0  { → _old}/event/offline/offline.html
  20. 0  { → _old}/event/offline/offline.js
  21. 0  { → _old}/event/select/select.html
  22. 0  { → _old}/event/select/select.js
  23. 0  { → _old}/event/slowdblclick/slowdblclick.html
  24. 0  { → _old}/event/slowdblclick/slowdblclick.js
  25. 0  { → _old}/form/combobox/ajax/ajax.html
  26. 0  { → _old}/form/combobox/ajax/ajax.js
  27. 0  { → _old}/form/combobox/ajax/funcunit.html
  28. 0  { → _old}/form/combobox/ajax/qunit.html
  29. 0  { → _old}/form/combobox/ajax/scripts/compress.js
  30. 0  { → _old}/form/combobox/ajax/scripts/doc.js
  31. 0  { → _old}/form/combobox/ajax/test/funcunit/basic_test.js
  32. 0  { → _old}/form/combobox/ajax/test/funcunit/funcunit.js
  33. 0  { → _old}/form/combobox/ajax/test/qunit/basic_test.js
  34. 0  { → _old}/form/combobox/ajax/test/qunit/qunit.js
  35. 0  { → _old}/form/combobox/api8a.html
  36. 0  { → _old}/form/combobox/api8b.html
  37. 0  { → _old}/form/combobox/autocomplete7.html
  38. 0  { → _old}/form/combobox/combobox.css
  39. 0  { → _old}/form/combobox/combobox.html
  40. 0  { → _old}/form/combobox/combobox.js
  41. 0  { → _old}/form/combobox/combobox2.html
  42. 0  { → _old}/form/combobox/combobox2_iframe.html
  43. 0  { → _old}/form/combobox/combobox3.html
  44. 0  { → _old}/form/combobox/combobox3_iframe.html
  45. 0  { → _old}/form/combobox/comboboxdemo1.html
  46. 0  { → _old}/form/combobox/dropdown/dropdown.js
  47. 0  { → _old}/form/combobox/funcunit.html
  48. 0  { → _old}/form/combobox/images/dropdown.png
  49. 0  { → _old}/form/combobox/positioning4a.html
  50. 0  { → _old}/form/combobox/positioning4b.html
  51. 0  { → _old}/form/combobox/positioning4c.html
  52. 0  { → _old}/form/combobox/positioning4d.html
  53. 0  { → _old}/form/combobox/positioning4e.html
  54. 0  { → _old}/form/combobox/positioning5a.html
  55. 0  { → _old}/form/combobox/positioning5b.html
  56. 0  { → _old}/form/combobox/positioning5c.html
  57. 0  { → _old}/form/combobox/positioning5d.html
  58. 0  { → _old}/form/combobox/positioning5e.html
  59. 0  { → _old}/form/combobox/positioning6a.html
  60. 0  { → _old}/form/combobox/positioning6b.html
  61. 0  { → _old}/form/combobox/positioning6c.html
  62. 0  { → _old}/form/combobox/positioning6d.html
  63. 0  { → _old}/form/combobox/positioning6e.html
  64. 0  { → _old}/form/combobox/qunit.html
  65. 0  { → _old}/form/combobox/select/funcunit.html
  66. 0  { → _old}/form/combobox/select/qunit.html
  67. 0  { → _old}/form/combobox/select/scripts/compress.js
  68. 0  { → _old}/form/combobox/select/scripts/doc.js
  69. 0  { → _old}/form/combobox/select/select.js
  70. 0  { → _old}/form/combobox/select/test/funcunit/basic_test.js
  71. 0  { → _old}/form/combobox/select/test/funcunit/funcunit.js
  72. 0  { → _old}/form/combobox/select/test/qunit/basic_test.js
  73. 0  { → _old}/form/combobox/select/test/qunit/qunit.js
  74. 0  { → _old}/form/combobox/selectable/selectable.js
  75. 0  { → _old}/form/combobox/test/funcunit/api8a_tests.js
  76. 0  { → _old}/form/combobox/test/funcunit/api8b_tests.js
  77. 0  { → _old}/form/combobox/test/funcunit/autocomplete7_tests.js
  78. 0  { → _old}/form/combobox/test/funcunit/combobox2_tests.js
  79. 0  { → _old}/form/combobox/test/funcunit/combobox3_tests.js
  80. 0  { → _old}/form/combobox/test/funcunit/funcunit.js
  81. 0  { → _old}/form/combobox/test/funcunit/positioning4a_tests.js
  82. 0  { → _old}/form/combobox/test/funcunit/positioning4b_tests.js
  83. 0  { → _old}/form/combobox/test/funcunit/positioning4c_tests.js
  84. 0  { → _old}/form/combobox/test/funcunit/positioning4d_tests.js
  85. 0  { → _old}/form/combobox/test/funcunit/positioning4e_tests.js
  86. 0  { → _old}/form/combobox/test/funcunit/positioning5a_tests.js
  87. 0  { → _old}/form/combobox/test/funcunit/positioning5b_tests.js
  88. 0  { → _old}/form/combobox/test/funcunit/positioning5c_tests.js
  89. 0  { → _old}/form/combobox/test/funcunit/positioning5d_tests.js
  90. 0  { → _old}/form/combobox/test/funcunit/positioning5e_tests.js
  91. 0  { → _old}/form/combobox/test/funcunit/positioning6a_tests.js
  92. 0  { → _old}/form/combobox/test/funcunit/positioning6b_tests.js
  93. 0  { → _old}/form/combobox/test/funcunit/positioning6c_tests.js
  94. 0  { → _old}/form/combobox/test/funcunit/positioning6d_tests.js
  95. 0  { → _old}/form/combobox/test/funcunit/positioning6e_tests.js
  96. 0  { → _old}/form/combobox/test/funcunit/smoke_tests.js
  97. 0  { → _old}/form/combobox/test/qunit/combobox_test.js
  98. 0  { → _old}/form/combobox/test/qunit/qunit.js
  99. 0  { → _old}/form/input_watermark/input_watermark.css
  100. 0  { → _old}/form/input_watermark/input_watermark.html
  101. 0  { → _old}/form/input_watermark/input_watermark.js
  102. 0  { → _old}/form/key_validator/key_validator.html
  103. 0  { → _old}/form/key_validator/key_validator.js
  104. 0  { → _old}/layout/bgiframe/bgiframe.js
  105. 0  { → _old}/layout/fill/demo.html
  106. 0  { → _old}/layout/fill/fill.html
  107. 0  { → _old}/layout/fill/fill.js
  108. 0  { → _old}/layout/fill/fill2.html
  109. 0  { → _old}/layout/fill/fill3.html
  110. 0  { → _old}/layout/fill/fill4.html
  111. 0  { → _old}/layout/fill/fill_test.js
  112. 0  { → _old}/layout/fill/funcunit.html
  113. 0  { → _old}/layout/fit/fit.html
  114. 0  { → _old}/layout/fit/fit.js
  115. 0  { → _old}/layout/fit/fit2.html
  116. 0  { → _old}/layout/fit/fit3.html
  117. 0  { → _old}/layout/fit/funcunit.html
  118. 0  { → _old}/layout/resizer/resizer.html
  119. 0  { → _old}/layout/resizer/resizer.js
  120. 0  { → _old}/layout/sortable/demo.html
  121. 0  { → _old}/layout/sortable/funcunit.html
  122. 0  { → _old}/layout/sortable/sortable.html
  123. 0  { → _old}/layout/sortable/sortable.js
  124. 0  { → _old}/layout/sortable/sortable_test.js
  125. 0  { → _old}/layout/table_fill/table_fill.html
  126. 0  { → _old}/layout/table_fill/table_fill.js
  127. 0  { → _old}/layout/tree/e.png
  128. 0  { → _old}/layout/tree/t.png
  129. 0  { → _old}/layout/tree/tree.css
  130. 0  { → _old}/layout/tree/tree.html
  131. 0  { → _old}/layout/tree/tree.js
  132. 0  { → _old}/layout/tree/v.png
  133. 0  { → _old}/layout/wrap/qunit.html
  134. 0  { → _old}/layout/wrap/wrap.html
  135. 0  { → _old}/layout/wrap/wrap.js
  136. 0  { → _old}/layout/wrap/wrap_test.js
  137. 0  { → _old}/nav/menu/funcunit.html
  138. 0  { → _old}/nav/menu/menu.html
  139. 0  { → _old}/nav/menu/menu.js
  140. 0  { → _old}/nav/menu/test/funcunit/funcunit.js
  141. 0  { → _old}/nav/menu/test/funcunit/menu_test.js
  142. 0  { → _old}/nav/menuable/funcunit.html
  143. 0  { → _old}/nav/menuable/menuable.html
  144. 0  { → _old}/nav/menuable/menuable.js
  145. 0  { → _old}/nav/menuable/menuable_test.js
  146. 0  { → _old}/nav/paginator/css/paginator.css
  147. 0  { → _old}/nav/paginator/funcunit.html
  148. 0  { → _old}/nav/paginator/images/first.png
  149. 0  { → _old}/nav/paginator/images/last.png
  150. 0  { → _old}/nav/paginator/images/next.png
  151. 0  { → _old}/nav/paginator/images/previous.png
  152. 0  { → _old}/nav/paginator/page/funcunit.html
  153. 0  { → _old}/nav/paginator/page/page.html
  154. 0  { → _old}/nav/paginator/page/page.js
  155. 0  { → _old}/nav/paginator/page/qunit.html
  156. 0  { → _old}/nav/paginator/page/test/funcunit/funcunit.js
  157. 0  { → _old}/nav/paginator/page/test/funcunit/tests/basic.js
  158. 0  { → _old}/nav/paginator/page/test/qunit/qunit.js
  159. 0  { → _old}/nav/paginator/page/test/qunit/tests/basic.js
  160. 0  { → _old}/nav/paginator/page/test/settings.js
  161. 0  { → _old}/nav/paginator/page/views/init.ejs
  162. 0  { → _old}/nav/paginator/paginator.html
  163. 0  { → _old}/nav/paginator/paginator.js
  164. 0  { → _old}/nav/paginator/qunit.html
  165. 0  { → _old}/nav/paginator/test/funcunit/funcunit.js
  166. 0  { → _old}/nav/paginator/test/funcunit/tests/basic.js
  167. 0  { → _old}/nav/paginator/test/qunit/qunit.js
  168. 0  { → _old}/nav/paginator/test/qunit/tests/basic.js
  169. 0  { → _old}/nav/paginator/test/settings.js
  170. 0  { → _old}/nav/paginator/views/init.ejs
  171. 0  { → _old}/nav/tabs/tabs.html
  172. 0  { → _old}/nav/tabs/tabs.js
  173. 0  { → _old}/nav/toolbar/funcunit.html
  174. 0  { → _old}/nav/toolbar/toolbar.html
  175. 0  { → _old}/nav/toolbar/toolbar.js
  176. 0  { → _old}/util/model_hookup/funcunit.html
  177. 0  { → _old}/util/model_hookup/model_hookup.js
  178. 0  { → _old}/util/rpc/fixtures/Event.findAll.json
  179. 0  { → _old}/util/rpc/fixtures/Event.findOne.json
  180. 0  { → _old}/util/rpc/qunit.html
  181. 0  { → _old}/util/rpc/rpc.js
  182. 0  { → _old}/util/rpc/test/qunit/rpc_test.js
  183. 0  { → _old}/util/scrollbar_width/scrollbar_width.html
  184. 0  { → _old}/util/scrollbar_width/scrollbar_width.js
  185. 0  {nav → }/accordion/.DS_Store
  186. +3 −3 {nav → }/accordion/accordion.html
  187. +4 −4 {nav → }/accordion/accordion.js
  188. +3 −3 {nav → }/accordion/accordion_test.js
  189. 0  {nav → }/accordion/demo.html
  190. +2 −2 {nav → }/accordion/funcunit.html
  191. +3 −3 {layout → }/block/block.html
  192. +12 −12 {layout → }/block/block.js
  193. +2 −2 {layout → }/block/block_test.js
  194. +2 −2 {layout → }/block/funcunit.html
  195. +103 −0 build/make.js
  196. +12 −17 canui.js
  197. +0 −241 demo.html
  198. +87 −0 fills/fills.html
  199. +241 −0 fills/fills.js
  200. +29 −0 fills/fills.md
  201. +183 −0 fills/fills1.html
  202. +70 −0 fills/fills2.html
  203. +32 −0 fills/fills3.html
  204. +17 −0 fills/fills_test.js
  205. +16 −0 fills/funcunit.html
  206. 0  {data → }/grid/grid.css
  207. 0  {data → }/grid/grid.html
  208. 0  {data → }/grid/grid.js
  209. 0  {data → }/grid/groupablegrid.html
  210. 0  {data → }/grid/paginatedgrid.html
  211. 0  {data → }/grid/treegrid.html
  212. 0  {data → }/grid/views/init.ejs
  213. 0  {data → }/grid/views/list.ejs
  214. 0  {data → }/grid/views/th.ejs
  215. +2 −2 {layout → }/modal/funcunit.html
  216. +1 −1  {layout → }/modal/modal.css
  217. +6 −6 {layout → }/modal/modal.html
  218. +11 −11 {layout → }/modal/modal.js
  219. +3 −3 {layout → }/modal/modal_test.js
  220. +0 −28 mxui.html
  221. 0  {layout → }/positionable/position.js
  222. 0  {layout → }/positionable/positionable.html
  223. +1 −1  {layout → }/positionable/positionable.js
  224. 0  {layout → }/resize/funcunit.html
  225. 0  {layout → }/resize/resize.css
  226. 0  {layout → }/resize/resize.html
  227. 0  {layout → }/resize/resize.js
  228. 0  {layout → }/resize/resize_test.js
  229. 0  {nav → }/selectable/demo.html
  230. +2 −2 {nav → }/selectable/funcunit.html
  231. +3 −3 {nav → }/selectable/selectable.html
  232. +6 −6 {nav → }/selectable/selectable.js
  233. +2 −2 {nav → }/selectable/selectable_test.js
  234. +2 −2 {nav → }/slider/funcunit.html
  235. +4 −4 {nav → }/slider/slider.html
  236. +4 −4 {nav → }/slider/slider.js
  237. +2 −2 {nav → }/slider/slider_test.js
  238. +2 −2 {layout → }/split/demo.html
  239. +2 −2 {layout → }/split/funcunit.html
  240. 0  {layout → }/split/images/split_sprite.gif
  241. 0  {layout → }/split/images/split_sprite_horz.gif
  242. 0  {layout → }/split/split.css
  243. +12 −12 {layout → }/split/split.html
  244. +6 −6 {layout → }/split/split.js
  245. +3 −3 {layout → }/split/split_test.js
  246. +9 −0 style/bootstrap.min.css
  247. +6 −0 style/style.js
  248. 0  {layout → }/table_scroll/demo.html
  249. 0  {layout → }/table_scroll/funcunit.html
  250. 0  {layout → }/table_scroll/table_scroll.html
  251. 0  {layout → }/table_scroll/table_scroll.js
  252. 0  {layout → }/table_scroll/table_scroll_test.js
  253. +11 −14 test.js
  254. 0  {nav → }/tooltip/qunit.html
  255. 0  {nav → }/tooltip/tooltip.html
  256. +4 −4 {nav → }/tooltip/tooltip.js
  257. 0  {nav → }/tooltip/tooltip.less
  258. 0  {nav → }/tooltip/tooltip_test.js
  259. 0  {nav → }/tooltip/views/tooltip.ejs
  260. +1 −1  update
View
0  data/data.js → _old/data/data.js
File renamed without changes
View
0  data/list/funcunit.html → _old/data/list/funcunit.html
File renamed without changes
View
0  data/list/list.css → _old/data/list/list.css
File renamed without changes
View
0  data/list/list.html → _old/data/list/list.html
File renamed without changes
View
0  data/list/list.js → _old/data/list/list.js
File renamed without changes
View
0  data/list/list_test.js → _old/data/list/list_test.js
File renamed without changes
View
0  data/list/views/list.ejs → _old/data/list/views/list.ejs
File renamed without changes
View
0  data/order/funcunit.html → _old/data/order/funcunit.html
File renamed without changes
View
0  data/order/order.html → _old/data/order/order.html
File renamed without changes
View
0  data/order/order.js → _old/data/order/order.js
File renamed without changes
View
0  data/order/order_test.js → _old/data/order/order_test.js
File renamed without changes
View
0  data/tree/fixture.js → _old/data/tree/fixture.js
File renamed without changes
View
0  data/tree/funcunit.html → _old/data/tree/funcunit.html
File renamed without changes
View
0  data/tree/tree.html → _old/data/tree/tree.html
File renamed without changes
View
0  data/tree/tree.js → _old/data/tree/tree.js
File renamed without changes
View
0  data/tree/tree_test.js → _old/data/tree/tree_test.js
File renamed without changes
View
0  data/tree/views/init.ejs → _old/data/tree/views/init.ejs
File renamed without changes
View
0  data/tree/views/list.ejs → _old/data/tree/views/list.ejs
File renamed without changes
View
0  event/offline/offline.html → _old/event/offline/offline.html
File renamed without changes
View
0  event/offline/offline.js → _old/event/offline/offline.js
File renamed without changes
View
0  event/select/select.html → _old/event/select/select.html
File renamed without changes
View
0  event/select/select.js → _old/event/select/select.js
File renamed without changes
View
0  event/slowdblclick/slowdblclick.html → _old/event/slowdblclick/slowdblclick.html
File renamed without changes
View
0  event/slowdblclick/slowdblclick.js → _old/event/slowdblclick/slowdblclick.js
File renamed without changes
View
0  form/combobox/ajax/ajax.html → _old/form/combobox/ajax/ajax.html
File renamed without changes
View
0  form/combobox/ajax/ajax.js → _old/form/combobox/ajax/ajax.js
File renamed without changes
View
0  form/combobox/ajax/funcunit.html → _old/form/combobox/ajax/funcunit.html
File renamed without changes
View
0  form/combobox/ajax/qunit.html → _old/form/combobox/ajax/qunit.html
File renamed without changes
View
0  form/combobox/ajax/scripts/compress.js → _old/form/combobox/ajax/scripts/compress.js
File renamed without changes
View
0  form/combobox/ajax/scripts/doc.js → _old/form/combobox/ajax/scripts/doc.js
File renamed without changes
View
0  form/combobox/ajax/test/funcunit/basic_test.js → _old/form/combobox/ajax/test/funcunit/basic_test.js
File renamed without changes
View
0  form/combobox/ajax/test/funcunit/funcunit.js → _old/form/combobox/ajax/test/funcunit/funcunit.js
File renamed without changes
View
0  form/combobox/ajax/test/qunit/basic_test.js → _old/form/combobox/ajax/test/qunit/basic_test.js
File renamed without changes
View
0  form/combobox/ajax/test/qunit/qunit.js → _old/form/combobox/ajax/test/qunit/qunit.js
File renamed without changes
View
0  form/combobox/api8a.html → _old/form/combobox/api8a.html
File renamed without changes
View
0  form/combobox/api8b.html → _old/form/combobox/api8b.html
File renamed without changes
View
0  form/combobox/autocomplete7.html → _old/form/combobox/autocomplete7.html
File renamed without changes
View
0  form/combobox/combobox.css → _old/form/combobox/combobox.css
File renamed without changes
View
0  form/combobox/combobox.html → _old/form/combobox/combobox.html
File renamed without changes
View
0  form/combobox/combobox.js → _old/form/combobox/combobox.js
File renamed without changes
View
0  form/combobox/combobox2.html → _old/form/combobox/combobox2.html
File renamed without changes
View
0  form/combobox/combobox2_iframe.html → _old/form/combobox/combobox2_iframe.html
File renamed without changes
View
0  form/combobox/combobox3.html → _old/form/combobox/combobox3.html
File renamed without changes
View
0  form/combobox/combobox3_iframe.html → _old/form/combobox/combobox3_iframe.html
File renamed without changes
View
0  form/combobox/comboboxdemo1.html → _old/form/combobox/comboboxdemo1.html
File renamed without changes
View
0  form/combobox/dropdown/dropdown.js → _old/form/combobox/dropdown/dropdown.js
File renamed without changes
View
0  form/combobox/funcunit.html → _old/form/combobox/funcunit.html
File renamed without changes
View
0  form/combobox/images/dropdown.png → _old/form/combobox/images/dropdown.png
File renamed without changes
View
0  form/combobox/positioning4a.html → _old/form/combobox/positioning4a.html
File renamed without changes
View
0  form/combobox/positioning4b.html → _old/form/combobox/positioning4b.html
File renamed without changes
View
0  form/combobox/positioning4c.html → _old/form/combobox/positioning4c.html
File renamed without changes
View
0  form/combobox/positioning4d.html → _old/form/combobox/positioning4d.html
File renamed without changes
View
0  form/combobox/positioning4e.html → _old/form/combobox/positioning4e.html
File renamed without changes
View
0  form/combobox/positioning5a.html → _old/form/combobox/positioning5a.html
File renamed without changes
View
0  form/combobox/positioning5b.html → _old/form/combobox/positioning5b.html
File renamed without changes
View
0  form/combobox/positioning5c.html → _old/form/combobox/positioning5c.html
File renamed without changes
View
0  form/combobox/positioning5d.html → _old/form/combobox/positioning5d.html
File renamed without changes
View
0  form/combobox/positioning5e.html → _old/form/combobox/positioning5e.html
File renamed without changes
View
0  form/combobox/positioning6a.html → _old/form/combobox/positioning6a.html
File renamed without changes
View
0  form/combobox/positioning6b.html → _old/form/combobox/positioning6b.html
File renamed without changes
View
0  form/combobox/positioning6c.html → _old/form/combobox/positioning6c.html
File renamed without changes
View
0  form/combobox/positioning6d.html → _old/form/combobox/positioning6d.html
File renamed without changes
View
0  form/combobox/positioning6e.html → _old/form/combobox/positioning6e.html
File renamed without changes
View
0  form/combobox/qunit.html → _old/form/combobox/qunit.html
File renamed without changes
View
0  form/combobox/select/funcunit.html → _old/form/combobox/select/funcunit.html
File renamed without changes
View
0  form/combobox/select/qunit.html → _old/form/combobox/select/qunit.html
File renamed without changes
View
0  form/combobox/select/scripts/compress.js → _old/form/combobox/select/scripts/compress.js
File renamed without changes
View
0  form/combobox/select/scripts/doc.js → _old/form/combobox/select/scripts/doc.js
File renamed without changes
View
0  form/combobox/select/select.js → _old/form/combobox/select/select.js
File renamed without changes
View
0  form/combobox/select/test/funcunit/basic_test.js → .../form/combobox/select/test/funcunit/basic_test.js
File renamed without changes
View
0  form/combobox/select/test/funcunit/funcunit.js → _old/form/combobox/select/test/funcunit/funcunit.js
File renamed without changes
View
0  form/combobox/select/test/qunit/basic_test.js → _old/form/combobox/select/test/qunit/basic_test.js
File renamed without changes
View
0  form/combobox/select/test/qunit/qunit.js → _old/form/combobox/select/test/qunit/qunit.js
File renamed without changes
View
0  form/combobox/selectable/selectable.js → _old/form/combobox/selectable/selectable.js
File renamed without changes
View
0  form/combobox/test/funcunit/api8a_tests.js → _old/form/combobox/test/funcunit/api8a_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/api8b_tests.js → _old/form/combobox/test/funcunit/api8b_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/autocomplete7_tests.js → ...orm/combobox/test/funcunit/autocomplete7_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/combobox2_tests.js → _old/form/combobox/test/funcunit/combobox2_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/combobox3_tests.js → _old/form/combobox/test/funcunit/combobox3_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/funcunit.js → _old/form/combobox/test/funcunit/funcunit.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning4a_tests.js → ...orm/combobox/test/funcunit/positioning4a_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning4b_tests.js → ...orm/combobox/test/funcunit/positioning4b_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning4c_tests.js → ...orm/combobox/test/funcunit/positioning4c_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning4d_tests.js → ...orm/combobox/test/funcunit/positioning4d_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning4e_tests.js → ...orm/combobox/test/funcunit/positioning4e_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning5a_tests.js → ...orm/combobox/test/funcunit/positioning5a_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning5b_tests.js → ...orm/combobox/test/funcunit/positioning5b_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning5c_tests.js → ...orm/combobox/test/funcunit/positioning5c_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning5d_tests.js → ...orm/combobox/test/funcunit/positioning5d_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning5e_tests.js → ...orm/combobox/test/funcunit/positioning5e_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning6a_tests.js → ...orm/combobox/test/funcunit/positioning6a_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning6b_tests.js → ...orm/combobox/test/funcunit/positioning6b_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning6c_tests.js → ...orm/combobox/test/funcunit/positioning6c_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning6d_tests.js → ...orm/combobox/test/funcunit/positioning6d_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/positioning6e_tests.js → ...orm/combobox/test/funcunit/positioning6e_tests.js
File renamed without changes
View
0  form/combobox/test/funcunit/smoke_tests.js → _old/form/combobox/test/funcunit/smoke_tests.js
File renamed without changes
View
0  form/combobox/test/qunit/combobox_test.js → _old/form/combobox/test/qunit/combobox_test.js
File renamed without changes
View
0  form/combobox/test/qunit/qunit.js → _old/form/combobox/test/qunit/qunit.js
File renamed without changes
View
0  form/input_watermark/input_watermark.css → _old/form/input_watermark/input_watermark.css
File renamed without changes
View
0  form/input_watermark/input_watermark.html → _old/form/input_watermark/input_watermark.html
File renamed without changes
View
0  form/input_watermark/input_watermark.js → _old/form/input_watermark/input_watermark.js
File renamed without changes
View
0  form/key_validator/key_validator.html → _old/form/key_validator/key_validator.html
File renamed without changes
View
0  form/key_validator/key_validator.js → _old/form/key_validator/key_validator.js
File renamed without changes
View
0  layout/bgiframe/bgiframe.js → _old/layout/bgiframe/bgiframe.js
File renamed without changes
View
0  layout/fill/demo.html → _old/layout/fill/demo.html
File renamed without changes
View
0  layout/fill/fill.html → _old/layout/fill/fill.html
File renamed without changes
View
0  layout/fill/fill.js → _old/layout/fill/fill.js
File renamed without changes
View
0  layout/fill/fill2.html → _old/layout/fill/fill2.html
File renamed without changes
View
0  layout/fill/fill3.html → _old/layout/fill/fill3.html
File renamed without changes
View
0  layout/fill/fill4.html → _old/layout/fill/fill4.html
File renamed without changes
View
0  layout/fill/fill_test.js → _old/layout/fill/fill_test.js
File renamed without changes
View
0  layout/fill/funcunit.html → _old/layout/fill/funcunit.html
File renamed without changes
View
0  layout/fit/fit.html → _old/layout/fit/fit.html
File renamed without changes
View
0  layout/fit/fit.js → _old/layout/fit/fit.js
File renamed without changes
View
0  layout/fit/fit2.html → _old/layout/fit/fit2.html
File renamed without changes
View
0  layout/fit/fit3.html → _old/layout/fit/fit3.html
File renamed without changes
View
0  layout/fit/funcunit.html → _old/layout/fit/funcunit.html
File renamed without changes
View
0  layout/resizer/resizer.html → _old/layout/resizer/resizer.html
File renamed without changes
View
0  layout/resizer/resizer.js → _old/layout/resizer/resizer.js
File renamed without changes
View
0  layout/sortable/demo.html → _old/layout/sortable/demo.html
File renamed without changes
View
0  layout/sortable/funcunit.html → _old/layout/sortable/funcunit.html
File renamed without changes
View
0  layout/sortable/sortable.html → _old/layout/sortable/sortable.html
File renamed without changes
View
0  layout/sortable/sortable.js → _old/layout/sortable/sortable.js
File renamed without changes
View
0  layout/sortable/sortable_test.js → _old/layout/sortable/sortable_test.js
File renamed without changes
View
0  layout/table_fill/table_fill.html → _old/layout/table_fill/table_fill.html
File renamed without changes
View
0  layout/table_fill/table_fill.js → _old/layout/table_fill/table_fill.js
File renamed without changes
View
0  layout/tree/e.png → _old/layout/tree/e.png
File renamed without changes
View
0  layout/tree/t.png → _old/layout/tree/t.png
File renamed without changes
View
0  layout/tree/tree.css → _old/layout/tree/tree.css
File renamed without changes
View
0  layout/tree/tree.html → _old/layout/tree/tree.html
File renamed without changes
View
0  layout/tree/tree.js → _old/layout/tree/tree.js
File renamed without changes
View
0  layout/tree/v.png → _old/layout/tree/v.png
File renamed without changes
View
0  layout/wrap/qunit.html → _old/layout/wrap/qunit.html
File renamed without changes
View
0  layout/wrap/wrap.html → _old/layout/wrap/wrap.html
File renamed without changes
View
0  layout/wrap/wrap.js → _old/layout/wrap/wrap.js
File renamed without changes
View
0  layout/wrap/wrap_test.js → _old/layout/wrap/wrap_test.js
File renamed without changes
View
0  nav/menu/funcunit.html → _old/nav/menu/funcunit.html
File renamed without changes
View
0  nav/menu/menu.html → _old/nav/menu/menu.html
File renamed without changes
View
0  nav/menu/menu.js → _old/nav/menu/menu.js
File renamed without changes
View
0  nav/menu/test/funcunit/funcunit.js → _old/nav/menu/test/funcunit/funcunit.js
File renamed without changes
View
0  nav/menu/test/funcunit/menu_test.js → _old/nav/menu/test/funcunit/menu_test.js
File renamed without changes
View
0  nav/menuable/funcunit.html → _old/nav/menuable/funcunit.html
File renamed without changes
View
0  nav/menuable/menuable.html → _old/nav/menuable/menuable.html
File renamed without changes
View
0  nav/menuable/menuable.js → _old/nav/menuable/menuable.js
File renamed without changes
View
0  nav/menuable/menuable_test.js → _old/nav/menuable/menuable_test.js
File renamed without changes
View
0  nav/paginator/css/paginator.css → _old/nav/paginator/css/paginator.css
File renamed without changes
View
0  nav/paginator/funcunit.html → _old/nav/paginator/funcunit.html
File renamed without changes
View
0  nav/paginator/images/first.png → _old/nav/paginator/images/first.png
File renamed without changes
View
0  nav/paginator/images/last.png → _old/nav/paginator/images/last.png
File renamed without changes
View
0  nav/paginator/images/next.png → _old/nav/paginator/images/next.png
File renamed without changes
View
0  nav/paginator/images/previous.png → _old/nav/paginator/images/previous.png
File renamed without changes
View
0  nav/paginator/page/funcunit.html → _old/nav/paginator/page/funcunit.html
File renamed without changes
View
0  nav/paginator/page/page.html → _old/nav/paginator/page/page.html
File renamed without changes
View
0  nav/paginator/page/page.js → _old/nav/paginator/page/page.js
File renamed without changes
View
0  nav/paginator/page/qunit.html → _old/nav/paginator/page/qunit.html
File renamed without changes
View
0  nav/paginator/page/test/funcunit/funcunit.js → _old/nav/paginator/page/test/funcunit/funcunit.js
File renamed without changes
View
0  nav/paginator/page/test/funcunit/tests/basic.js → _old/nav/paginator/page/test/funcunit/tests/basic.js
File renamed without changes
View
0  nav/paginator/page/test/qunit/qunit.js → _old/nav/paginator/page/test/qunit/qunit.js
File renamed without changes
View
0  nav/paginator/page/test/qunit/tests/basic.js → _old/nav/paginator/page/test/qunit/tests/basic.js
File renamed without changes
View
0  nav/paginator/page/test/settings.js → _old/nav/paginator/page/test/settings.js
File renamed without changes
View
0  nav/paginator/page/views/init.ejs → _old/nav/paginator/page/views/init.ejs
File renamed without changes
View
0  nav/paginator/paginator.html → _old/nav/paginator/paginator.html
File renamed without changes
View
0  nav/paginator/paginator.js → _old/nav/paginator/paginator.js
File renamed without changes
View
0  nav/paginator/qunit.html → _old/nav/paginator/qunit.html
File renamed without changes
View
0  nav/paginator/test/funcunit/funcunit.js → _old/nav/paginator/test/funcunit/funcunit.js
File renamed without changes
View
0  nav/paginator/test/funcunit/tests/basic.js → _old/nav/paginator/test/funcunit/tests/basic.js
File renamed without changes
View
0  nav/paginator/test/qunit/qunit.js → _old/nav/paginator/test/qunit/qunit.js
File renamed without changes
View
0  nav/paginator/test/qunit/tests/basic.js → _old/nav/paginator/test/qunit/tests/basic.js
File renamed without changes
View
0  nav/paginator/test/settings.js → _old/nav/paginator/test/settings.js
File renamed without changes
View
0  nav/paginator/views/init.ejs → _old/nav/paginator/views/init.ejs
File renamed without changes
View
0  nav/tabs/tabs.html → _old/nav/tabs/tabs.html
File renamed without changes
View
0  nav/tabs/tabs.js → _old/nav/tabs/tabs.js
File renamed without changes
View
0  nav/toolbar/funcunit.html → _old/nav/toolbar/funcunit.html
File renamed without changes
View
0  nav/toolbar/toolbar.html → _old/nav/toolbar/toolbar.html
File renamed without changes
View
0  nav/toolbar/toolbar.js → _old/nav/toolbar/toolbar.js
File renamed without changes
View
0  util/model_hookup/funcunit.html → _old/util/model_hookup/funcunit.html
File renamed without changes
View
0  util/model_hookup/model_hookup.js → _old/util/model_hookup/model_hookup.js
File renamed without changes
View
0  util/rpc/fixtures/Event.findAll.json → _old/util/rpc/fixtures/Event.findAll.json
File renamed without changes
View
0  util/rpc/fixtures/Event.findOne.json → _old/util/rpc/fixtures/Event.findOne.json
File renamed without changes
View
0  util/rpc/qunit.html → _old/util/rpc/qunit.html
File renamed without changes
View
0  util/rpc/rpc.js → _old/util/rpc/rpc.js
File renamed without changes
View
0  util/rpc/test/qunit/rpc_test.js → _old/util/rpc/test/qunit/rpc_test.js
File renamed without changes
View
0  util/scrollbar_width/scrollbar_width.html → _old/util/scrollbar_width/scrollbar_width.html
File renamed without changes
View
0  util/scrollbar_width/scrollbar_width.js → _old/util/scrollbar_width/scrollbar_width.js
File renamed without changes
View
0  nav/accordion/.DS_Store → accordion/.DS_Store
File renamed without changes
View
6 nav/accordion/accordion.html → accordion/accordion.html
@@ -66,11 +66,11 @@
<a href='javascript://' id='resize_scroll'>Resize Scroll</a>
<a href='javascript://' id='resize_unscroll'>Resize Unscroll</a>
- <script type='text/javascript' src='../../../steal/steal.js'></script>
+ <script type='text/javascript' src='../../steal/steal.js'></script>
<script type='text/javascript'>
- steal('canui/nav/accordion').then(function(){
+ steal('canui/accordion').then(function(){
- new can.ui.nav.Accordion($('#accordion'));
+ new can.ui.Accordion($('#accordion'));
$('#resize').click(function(){
$('#accordion').height(550).trigger('resize');
View
8 nav/accordion/accordion.js → accordion/accordion.js
@@ -1,6 +1,6 @@
steal('can/control',
- 'canui/nav/selectable',
- 'canui/layout/fill',
+ 'canui/selectable',
+ 'canui/fills',
function(){
/**
@@ -10,7 +10,7 @@ steal('can/control',
*
* Provides basic accordion vertical accordion functionality.
*/
-can.Control("can.ui.nav.Accordion",{
+can.Control("can.ui.Accordion",{
defaults: {
/**
@@ -126,7 +126,7 @@ can.Control("can.ui.nav.Accordion",{
init : function(){
this._setupDom();
- new can.ui.nav.Selectable(this.element, {
+ new can.ui.Selectable(this.element, {
selectedClassName: this.options.css.selected,
activatedClassName: this.options.css.activated,
multiActivate: false,
View
6 nav/accordion/accordion_test.js → accordion/accordion_test.js
@@ -1,9 +1,9 @@
steal('funcunit',function(){
- module("can.ui.nav.Accordion", {
+ module("can.ui.Accordion", {
setup: function(){
- S.open("//canui/nav/accordion/accordion.html");
- S('.can_ui_nav_accordion').exists();
+ S.open("//canui/accordion/accordion.html");
+ S('.can_ui_accordion').exists();
}
});
View
0  nav/accordion/demo.html → accordion/demo.html
File renamed without changes
View
4 nav/accordion/funcunit.html → accordion/funcunit.html
@@ -2,9 +2,9 @@
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
- <link rel="stylesheet" type="text/css" href="../../../funcunit/qunit/qunit.css" />
+ <link rel="stylesheet" type="text/css" href="../../funcunit/qunit/qunit.css" />
<title>accordion FuncUnit Test</title>
- <script type='text/javascript' src='../../../steal/steal.js?canui/nav/accordion/accordion_test.js'></script>
+ <script type='text/javascript' src='../../steal/steal.js?canui/accordion/accordion_test.js'></script>
</head>
<body>
View
6 layout/block/block.html → block/block.html
@@ -53,7 +53,7 @@
<button class="two">I'm a clickable button</button>
</div>
</div>
-<script type='text/javascript' src='../../../steal/steal.js?canui/layout/block'></script>
+<script type='text/javascript' src='../../steal/steal.js?canui/block'></script>
<script id="demo-source" type='text/javascript'>
steal(function () {
$(function () {
@@ -61,12 +61,12 @@
$("#blocker1, #blocker2").css("opacity", 0.3);
$("#block").click(function () {
- new can.ui.layout.Block($("#blocker1"), window);
+ new can.ui.Block($("#blocker1"), window);
$("button").text("Can't click me anymore!");
});
$("#block2").click(function () {
- new can.ui.layout.Block($("#blocker2"), "#block-div");
+ new can.ui.Block($("#blocker2"), "#block-div");
$("button.two").text("Can't click me anymore!");
});
})
View
24 layout/block/block.js → block/block.js
@@ -1,9 +1,9 @@
steal('can/control',
'can/construct/super',
- 'canui/layout/positionable',
- 'canui/layout/fill').then(function($){
+ 'canui/positionable',
+ 'canui/fills').then(function($){
/**
- * @class can.ui.layout.Block
+ * @class can.ui.Block
* @parent canui
* @plugin canui/layout/block
* @test canui/layout/block/funcunit.html
@@ -11,28 +11,28 @@ steal('can/control',
* Blocks the browser screen or element from user interaction.
*
* Sometimes it is necessary to block the browser from user interaction such as when a spinner image
- * is giving the user feedback that a request for data is taking place. can.ui.layout.Block attaches to an
+ * is giving the user feedback that a request for data is taking place. can.ui.Block attaches to an
* element sets its width and height to the window's width and height and sets its z-index to a
* configurable value (default is 9999).
*
- * To block the browser screen just attach can.ui.layout.Block to an element you
+ * To block the browser screen just attach can.ui.Block to an element you
* wish to act as a blocker:
*
- * new can.ui.layout.Block($("#blocker"));
+ * new can.ui.Block($("#blocker"));
*
* If you'd like to block a specifc element, simply pass it as the argument
- * to the can.ui.layout.Block call:
+ * to the can.ui.Block call:
*
- * new can.ui.layout.Block($("#blocker"), $("#parent"));
+ * new can.ui.Block($("#blocker"), $("#parent"));
*
* You can also simply pass a string selector as the argument to determine
* the parent
*
- * new can.ui.layout.Block($("#blocker"), "#parent");
+ * new can.ui.Block($("#blocker"), "#parent");
*
* @demo canui/layout/block/block.html
*/
- can.Control("can.ui.layout.Block", {
+ can.Control("can.ui.Block", {
defaults : {
zIndex: 9999
},
@@ -54,7 +54,7 @@ steal('can/control',
},
init : function() {
- new can.ui.layout.Positionable(this.element.show());
+ new can.ui.Positionable(this.element.show());
// If the block element is styled with a width or height of zero,
// this will still work
@@ -80,7 +80,7 @@ steal('can/control',
left: "0px" ,
zIndex: this.options.zIndex
})
- .can_ui_layout_fill({
+ .fills({
all: true,
parent: this.options.parent
});
View
4 layout/block/block_test.js → block/block_test.js
@@ -1,8 +1,8 @@
steal('funcunit').then(function(){
-module("can.ui.layout.Block",{
+module("can.ui.Block",{
setup: function(){
- S.open("//canui/layout/block/block.html");
+ S.open("//canui/block/block.html");
}
});
View
4 layout/block/funcunit.html → block/funcunit.html
@@ -1,6 +1,6 @@
<html>
<head>
- <link rel="stylesheet" type="text/css" href="../../../funcunit/qunit/qunit.css" />
+ <link rel="stylesheet" type="text/css" href="../../funcunit/qunit/qunit.css" />
</head>
<body>
@@ -10,6 +10,6 @@ <h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-test-area"></div>
- <script type='text/javascript' src='../../../steal/steal.js?canui/layout/block/block_test.js'></script>
+ <script type='text/javascript' src='../../steal/steal.js?canui/block/block_test.js'></script>
</body>
</html>
View
103 build/make.js
@@ -0,0 +1,103 @@
+
+load("steal/rhino/rhino.js");
+steal('steal/build/pluginify', 'jquery/build/stealify.js', 'jquery/build/amdify.js', 'jquery/build/extract.js',
+function() {
+
+ var out = "jquery/dist/",
+ excludes = [ 'steal/dev',
+ "can/util/jquery/jquery.1.7.1.js",
+ "jquery/build/lib.js" ];
+
+ steal.File(out).mkdirs();
+
+ // Create full library
+ steal.build.pluginify('jquery/build/lib.js', {
+ out: out + "jquerypp.js",
+ skipCallbacks: true,
+ exclude : excludes.concat([
+ 'jquery/dom/dom.js', 'jquery/event/event.js', 'jquery/jquery.js'
+ ])
+ });
+
+ // Create separate files
+ steal.build.extract({
+ "jquery/dom/animate/animate.js" : "jquery.animate.js",
+ "jquery/dom/compare/compare.js" : "jquery.compare.js",
+ "jquery/dom/cookie/cookie.js" : "jquery.cookie.js",
+ "jquery/dom/dimensions/dimensions.js" : "jquery.dimensions.js",
+ "jquery/dom/fills/fills.js" : "jquery.fills.js",
+ "jquery/dom/form_params/form_params.js" : "jquery.form_params.js",
+ "jquery/dom/range/range.js" : "jquery.range.js",
+ "jquery/dom/selection/selection.js" : "jquery.selection.js",
+ "jquery/dom/styles/styles.js" : "jquery.styles.js",
+ "jquery/dom/within/within.js" : "jquery.within.js",
+ "jquery/event/default/default.js" : "jquery.event.default.js",
+ "jquery/event/destroyed/destroyed.js" : "jquery.event.destroyed.js",
+ "jquery/event/drag/drag.js" : "jquery.event.drag.js",
+ "jquery/event/drop/drop.js" : "jquery.event.drop.js",
+ "jquery/event/fastfix/fastfix.js" : "jquery.event.fastfix.js",
+ "jquery/event/hover/hover.js" : "jquery.event.hover.js",
+ "jquery/event/key/key.js" : "jquery.event.key.js",
+ "jquery/event/pause/pause.js" : "jquery.event.pause.js",
+ "jquery/event/resize/resize.js" : "jquery.event.resize.js",
+ "jquery/event/swipe/swipe.js" : "jquery.event.swipe.js",
+ "jquery/event/livehack/livehack.js" : "jquery.event.livehack.js",
+ "jquery/lang/json/json.js" : "jquery.lang.json.js",
+ "jquery/lang/vector/vector.js" : "jquery.lang.vector.js"
+ }, {
+ skipCallbacks: true,
+ exclude : excludes.concat([
+ 'jquery/dom/dom.js', 'jquery/event/event.js', 'jquery/jquery.js'
+ ]),
+ out : out + 'lib/'
+ });
+
+ // Make Steal distributable
+ steal.build.stealify('jquery/build/lib.js', {
+ out : out + 'steal/',
+ exclude : excludes
+ });
+
+ // Make AMD modules
+ steal.build.amdify('jquery/build/lib.js', {
+ out : out + 'amd/',
+ exclude : excludes.concat([
+ 'jquery/dom/dom.js', 'jquery/event/event.js'
+ ]),
+ map : { // steal file to CommonJS module name mappings
+ "jquery/jquery.js" : "jquery",
+ "jquery/build/lib.js" : "jquerypp/index",
+ "jquery/lang/json/json.js" : "jquerypp/util/json",
+ "jquery/lang/vector/vector.js" : "jquerypp/util/vector",
+ "jquery/dom/animate/animate.js" : "jquerypp/animate",
+ "jquery/dom/compare/compare.js" : "jquerypp/compare",
+ "jquery/dom/cookie/cookie.js" : "jquerypp/cookie",
+ "jquery/dom/dimensions/dimensions.js" : "jquerypp/dimensions",
+ "jquery/dom/fills/fills.js" : "jquerypp/fills",
+ "jquery/dom/form_params/form_params.js" : "jquerypp/form_params",
+ "jquery/dom/range/range.js" : "jquerypp/range",
+ "jquery/dom/selection/selection.js" : "jquerypp/selection",
+ "jquery/dom/styles/styles.js" : "jquerypp/styles",
+ "jquery/dom/within/within.js" : "jquerypp/within",
+ "jquery/event/default/default.js" : "jquerypp/event/default",
+ "jquery/event/destroyed/destroyed.js" : "jquerypp/event/destroyed",
+ "jquery/event/drag/drag.js" : "jquerypp/event/drag",
+ "jquery/event/drag/limit/limit.js" : "jquerypp/event/drag.limit",
+ "jquery/event/drag/scroll/scroll.js" : "jquerypp/event/drag.scroll",
+ "jquery/event/drag/step/step.js" : "jquerypp/event/drag.step",
+ "jquery/event/drop/drop.js" : "jquerypp/event/drop",
+ "jquery/event/fastfix/fastfix.js" : "jquerypp/event/fastfix",
+ "jquery/event/hover/hover.js" : "jquerypp/event/hover",
+ "jquery/event/key/key.js" : "jquerypp/event/key",
+ "jquery/event/reverse/reverse.js" : "jquerypp/event/reverse",
+ "jquery/event/livehack/livehack.js" : "jquerypp/event/livehack",
+ "jquery/event/pause/pause.js" : "jquerypp/event/pause",
+ "jquery/event/resize/resize.js" : "jquerypp/event/resize",
+ "jquery/event/swipe/swipe.js" : "jquerypp/event/swipe"
+ },
+ names : { // Module name to variable name mappings
+ 'jquery' : 'jQuery'
+ },
+ global : 'jQuery'
+ });
+});
View
29 canui.js
@@ -1,19 +1,14 @@
steal(
- 'canui/layout/sortable',
- 'canui/layout/wrap',
- 'canui/layout/fill',
- 'canui/layout/bgiframe',
- 'canui/layout/positionable',
- 'canui/layout/block',
- 'canui/layout/split',
- 'canui/layout/resize',
- 'canui/layout/table_scroll',
- 'canui/layout/modal',
- 'canui/nav/accordion',
- 'canui/nav/slider',
- 'canui/nav/selectable',
- 'canui/util/scrollbar_width',
- 'canui/form/combobox',
- 'canui/data/grid',
- 'canui/data/tree'
+ 'canui/accordion',
+ 'canui/block',
+ 'canui/fills',
+ 'canui/grid',
+ 'canui/modal',
+ 'canui/positionable',
+ 'canui/resize',
+ 'canui/selectable',
+ 'canui/slider',
+ 'canui/split',
+ 'canui/tooltip',
+ 'canui/table_scroll'
)
View
241 demo.html
@@ -1,241 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>CanUI Demo</title>
- <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css" />
- <link type="text/css" href="layout/resize/resize.css" rel="stylesheet" />
- <style type='text/css'>
- body {font-family: verdana}
- #resize {
- width: 600px; height: 300px;
- border: solid 4px green;
- }
- .green, .red {font-weight: bold;}
- .green {color: green;}
- .red { color: red; }
- #fill {
- border: solid 4px red;
- }
- #slider-container {
- border: solid 1px black;
- }
- #slider {
- padding: 3px;
- width: 165px;
- border: solid 1px black;
- text-align: center;
- cursor: move;
- }
- #accordion {
- width: 33%;
- }
- #right {
- width: 66%;
- }
- .ui-state-active {
- background-image: none;
- background-color: #eeeeee;
- font-weight: bold;
- }
- #modal {
- display: none;
- border: solid 4px orange;
- background-color: yellow;
- padding: 30px 10px;
- }
- #block {
- background-color: green;
- display: none;
- }
- ul, li {
- margin: 0px; padding: 0px;
- list-style: none;
- }
- #sortable li {
- display: inline-block;
- padding: 10px 3px;
- border: dashed 1px blue;
- }
- #sortable {
- background-color: #eeeeee;
- overflow: auto;
- white-space-collapse: collapse;
- white-space: nowrap;
- cursor: move;
- }
- td {
- border: solid 2px white;
- }
- td.selected {
- border: solid 2px orange;
- }
- td.activated {
- background-color: yellow;
- }
- </style>
-
-</head>
-<body>
-<div id='resize'>
- The <span class='green'>green</span> div is a
- <a href="#!can.ui.Layout.Resize">Resize</a>.
- The <span class='red'>red</span> div is a
- <a href='#!can.ui.Layout.Fill'>Fill</a>
- and a <a href='#!can.ui.Layout.Split'>Split</a>.
- <div id='fill'>
- <div id='accordion'>
- <h3>Accordion</h3>
- <div>
- This is a panel within an
- <a href='#!can.ui.Nav.Accordion'>Accordion</a>.
- </div>
- <h3>Block</h3>
- <div>
- Click <a href="javascript://" id='cb'>this</a>
- to create a
- <a href='#!can.ui.Layout.Block'>Block</a>
- on a hidden <code>#block</code> div.
- </div>
- <h3>Modal</h3>
- <div>
- Click <a href="javascript://" id='cm'>this</a>
- to create a
- <a href='#!can.ui.Layout.Modal'>Modal</a> on
- a hidden <code>#modal</code> div.
- </div>
- </div>
- <div id='right'>
- <table id='table_scroll' cellpadding='0' cellspacing='0'>
- <thead>
- <tr>
- <th>These</th>
- <th>are table</th>
- <th>headers</th>
- </tr>
- </thead>
- <tbody>
- <tr><td>This table</td>
- <td>is a</td>
- <td><a href="#!can.ui.Layout.TableScroll">
- Table Scroll</a>.</td></tr>
- <tr><td>It makes</td>
- <td>a table</td>
- <td>scrollable.</td></tr>
- <tr><td>It is</td>
- <td>useful for</td>
- <td>making grids.</td></tr>
- <tr><td>This table is</td>
- <td>also a mxui</td>
- <td><a href='#!can.ui.Nav.Selectable'>
- Selectable</a>.</td></tr>
- <tr><td>Selectable</td>
- <td>handles key</td>
- <td>and mouse events,</td></tr>
- <tr><td>and mulit-</td>
- <td>selection!</td>
- <td>To try it,</td></tr>
- <tr><td>click on</td>
- <td>a table row.</td>
- <td>Use the keyboard</td></tr>
- <tr><td>to navigate.</td>
- <td>Use SHIFT</td>
- <td> and CTRL to</td></tr>
- <tr><td>to multi-</td>
- <td>select rows.</td>
- <td></td></tr>
- </tbody>
- </table>
- <ul id='sortable'><li>This</li><li>is</li><li>a</li><li>Mxui</li><li>
- <a href='#!can.ui.Layout.Sortable'>Sortable</a></li></ul>
- </div>
- </div>
- <div id='slider-container'>
- <div id='slider'>
- &larr;<a href="!#can.ui.Nav.Slider">Slider</a>&rarr;
- </div>
- </div>
- <div id='modal'>I am a modal.
- <a href="javascript://" id='hm'>Hide the modal</a>.
- </div>
-
-</div>
- <div id='block'>I am a block.
- <a href="javascript://" id='hb'>Hide the block</a>.
- </div>
-
-
- <script type='text/javascript'
- src='../steal/steal.js'>
- </script>
- <script type='text/javascript'>
-steal("can/control/plugin", "canui/layout/resize",
- "canui/layout/fill",
- "canui/nav/slider",
- "canui/layout/split",
- "canui/nav/accordion",
- "canui/layout/modal",
- "canui/layout/block",
- "canui/layout/sortable",
- "canui/layout/table_scroll",
- "canui/nav/selectable",
- function($){
-
- $("#resize").can_ui_layout_resize()
-
- $("#fill").can_ui_layout_fill()
- .can_ui_layout_split({direction: "vertical"});
-
- $("#slider").can_ui_nav_slider();
- $("#accordion").can_ui_nav_accordion();
-
- // create a modal
- $("#cm").click(function(){
- $("#modal").can_ui_layout_modal()
- })
- $("#hm").click(function(){
- $("#modal").hide()
- })
-
- // create a block
- $("#cb").click(function(){
- $("#block").can_ui_layout_block()
- })
- $("#hb").click(function(){
- $("#block").hide()
- })
-
- $("#sortable").can_ui_layout_sortable({
- sortable: "li"
- })
-
- $('#table_scroll').can_ui_layout_table_scroll();
- $('tbody td').attr('tabindex',"0");
-
- $('tbody').can_ui_nav_selectable();
-
-
- // make links change parent window
- // first handle clicking the slider
- var last;
- $('#slider a').mousedown(function(ev){
- ev.preventDefault()
- last = ev;
- }).click(function(ev){
- if(last.pageX != ev.pageX ||
- last.pageY != ev.pageY ){
- ev.stopImmediatePropagation();
- ev.preventDefault();
- }
- })
-
- $('a').bind('click', function(ev){
- var href = $(this).attr('href');
- if(href.indexOf('#!') == 0){
- ev.preventDefault();
- parent.location.hash = href;
- }
- });
-})
-</script>
- </body>
-</html>
View
87 fills/fills.html
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+ <title>fill</title>
+ <style type='text/css'>
+ body {
+ margin: 0px 0px 60px 0px;
+ padding: 10px;
+ font-family: verdana;
+ }
+
+ h4 {
+ background-color: gray;
+ margin: 15px 0;
+ }
+
+ p {
+ margin: 16px 0;
+ }
+
+ h3 {
+ margin: 18px 0;
+ }
+
+ #scrollable, #main {
+ width: 290px;
+ height: 290px;
+ border: solid 1px red;
+ padding: 10px;
+ }
+
+ #mainfiller {
+ background-color: green;
+ }
+
+ #fillthis {
+ overflow: auto
+ }
+
+ #long {
+ height: 400px;
+ background-color: yellow;
+ }
+ </style>
+ <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css" />
+</head>
+<body>
+<div id="demo-html">
+ <h1>Filler</h1>
+
+ <div id="main">
+ <p>I am a longer paragraph with margin. I might wrap. Resize the area to see how #mainfiller adjusts.</p>
+ <div id="mainfiller">#mainfiller</div>
+ <p>Another paragraph</p>
+ </div>
+
+ <h1>Areas with Scrollbars</h1>
+
+ <div id='scrollable'>
+ <p>Hello World, How are You? <a href='javascript://' id='scrollfill'>Run</a></p>
+
+ <div id='fillthis'>
+ <div id='long'>I am very long ...</div>
+ </div>
+ </div>
+</div>
+
+
+<script type='text/javascript'
+ src='../../../steal/steal.js'>
+</script>
+<script type='text/javascript' id="demo-source">
+ steal('jquery/dom/fills').then('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js').then(function () {
+ steal.clickReg = true;
+
+ $('#main').resizable();
+
+ $('#mainfiller').fills();
+
+ $('#scrollfill').click(function () {
+ $('#fillthis').fills("#scrollable")
+ });
+ })
+</script>
+</body>
+</html>
View
241 fills/fills.js
@@ -0,0 +1,241 @@
+steal('jquery/dom/dimensions', 'jquery/event/resize').then(function( $ ) {
+ //evil things we should ignore
+ var matches = /script|td/,
+
+ // if we are trying to fill the page
+ isThePage = function( el ) {
+ return el === document || el === document.documentElement || el === window || el === document.body
+ },
+ //if something lets margins bleed through
+ bleeder = function( el ) {
+ if ( el[0] == window ) {
+ return false;
+ }
+ var styles = el.styles('borderBottomWidth', 'paddingBottom')
+ return !parseInt(styles.borderBottomWidth) && !parseInt(styles.paddingBottom)
+ },
+ //gets the bottom of this element
+ bottom = function( el, offset ) {
+ //where offsetTop starts
+ return el.outerHeight() + offset(el);
+ }
+ pageOffset = function( el ) {
+ return el.offset().top
+ },
+ offsetTop = function( el ) {
+ return el[0].offsetTop;
+ },
+ inFloat = function( el, parent ) {
+ while ( el && el != parent ) {
+ var flt = $(el).css('float')
+ if ( flt == 'left' || flt == 'right' ) {
+ return flt;
+ }
+ el = el.parentNode
+ }
+ },
+ /**
+ * @function jQuery.fn.fills
+ * @parent jQuery.fills
+ * @test jquery/dom/fills/funcunit.html
+ * @plugin jquery/dom/fills
+ *
+ * Fills a parent element's height with the current element.
+ * This is extremely useful for complex layout, especially when you want to account for line-wrapping.
+ *
+ * ## Basic Example
+ *
+ * If you have the following html:
+ *
+ * <div id='box'>
+ * <p>I am a long heading.</p>
+ * <div id='child'>I'm a child.</div>
+ * </div>
+ *
+ * The follow makes `#child` fill up `#box`:
+ *
+ * $('#child').can_ui_layout_fill("#box")
+ *
+ * ## Limitations
+ *
+ * Fill currently does not well with:
+ *
+ * - Bleeding margins - Where margins leak through parent elements
+ * because the parent elements do not have a padding or border.
+ *
+ * - Tables - You shouldn't be using tables to do layout anyway.
+ *
+ * - Floated Elements - the child element has `float: left` or `float: right`
+ *
+ *
+ * @param {HTMLElement|selector|Object} [parent] the parent element
+ * to fill, defaults to the element's parent.
+ *
+ * The following fills the parent to `#child`:
+ *
+ * $('#child').fills()
+ *
+ * A selector can also be pased. This selector is passed to jQuery's
+ * closet method. The following matches the first `#parent` element that
+ * is a parentNode of `#child`:
+ *
+ * $('#child').fills("#parent")
+ *
+ * An element or window can also be passed. The following will make
+ * `#child` big enough so the entire window is filled:
+ *
+ * $('#child').fills(window)
+ *
+ * If you pass an object, the following options are available:
+ *
+ * - __parent__ - The parent element selector or jQuery object
+ * - __className__ - A class name to add to the element that fills
+ * - __all__ - Reset the parents height when resizing
+ *
+ * @return {jQuery} the original jQuery collection for chaining.
+ */
+ filler = $.fn.fills = function( parent ) {
+ var options = parent;
+ options || (options = {});
+ if(typeof options == 'string'){
+ options = this.closest(options)
+ }
+ if ( options.jquery || options.nodeName ) {
+ options = {parent: options };
+ }
+ // Set the parent
+ options.parent || (options.parent = $(this).parent());
+ options.parent = $(options.parent)
+
+ // setup stuff on every element
+ if(options.className) {
+ this.addClass(options.className)
+ }
+
+ var thePage = isThePage(options.parent[0]);
+
+ if ( thePage ) {
+ options.parent = $(window)
+ }
+
+ this.each(function(){
+ var evData = {
+ filler: $(this),
+ inFloat: inFloat(this, thePage ? document.body : options.parent[0]),
+ options: options
+ },
+ cb = function() {
+ filler.parentResize.apply(this, arguments)
+ }
+ // Attach to the `resize` event
+ $(options.parent).bind('resize', evData, cb);
+
+ $(this).bind('destroyed', evData, function( ev ) {
+ if(options.className) {
+ $(ev.target).removeClass(options.className)
+ }
+ $(options.parent).unbind('resize', cb)
+ });
+
+ });
+
+ // resize to get things going
+ var func = function() {
+ options.parent.resize();
+ }
+
+ if ( $.isReady ) {
+ func();
+ } else {
+ $(func)
+ }
+ return this;
+ };
+
+
+ $.extend(filler, {
+ parentResize : function( ev ) {
+ if (ev.data.filler.is(':hidden')) {
+ return;
+ }
+
+ var parent = $(this),
+ isWindow = this == window,
+ container = (isWindow ? $(document.body) : parent),
+
+ //if the parent bleeds margins, we don't care what the last element's margin is
+ isBleeder = bleeder(parent),
+ children = container.children().filter(function() {
+ if ( matches.test(this.nodeName.toLowerCase()) ) {
+ return false;
+ }
+
+ var get = $.styles(this, ['position', 'display']);
+ return get.position !== "absolute" && get.position !== "fixed"
+ && get.display !== "none" && !jQuery.expr.filters.hidden(this)
+ }),
+ last = children.eq(-1),
+ first,
+ parentHeight = parent.height() - (isWindow ? parseInt(container.css('marginBottom'), 10) || 0 : 0),
+ currentSize;
+ var div = '<div style="height: 0px; line-height:0px;overflow:hidden;' + (ev.data.inFloat ? 'clear: both' : '') + ';"/>'
+
+ if ( isBleeder ) {
+ //temporarily add a small div to use to figure out the 'bleed-through' margin
+ //of the last element
+ last = $(div).appendTo(container);
+
+ }
+
+ //for performance, we want to figure out the currently used height of the parent element
+ // as quick as possible
+ // we can use either offsetTop or offset depending ...
+ if ( last && last.length > 0 ) {
+ if ( last.offsetParent()[0] === container[0] ) {
+
+ currentSize = last[0].offsetTop + last.outerHeight();
+ } else if (last.offsetParent()[0] === container.offsetParent()[0]) {
+ // add pos abs for IE7 but
+ // might need to adjust for the addition of first's hheight
+ var curLast =last[0].offsetTop;
+ first = $(div).prependTo(container);
+
+ currentSize = ( curLast + last.outerHeight() ) - first[0].offsetTop;
+
+ first.remove();
+ } else {
+ // add first so we know where to start from .. do not bleed in this case
+ first = $(div).prependTo(container);
+
+ currentSize = ( last.offset().top + last.outerHeight() ) - first.offset().top;
+ first.remove();
+ }
+ }
+
+ // what the difference between the parent height and what we are going to take up is
+ var delta = parentHeight - currentSize,
+ // the current height of the object
+ fillerHeight = ev.data.filler.height();
+
+ //adjust the height
+ if ( ev.data.options.all ) {
+ // we don't care about anything else, we are likely absolutely positioned
+ // we need to fill the parent width
+ // temporarily collapse, then expand
+ ev.data.filler.height(0).width(0);
+ var parentWidth = parent.width(),
+ parentHeight = parent.height();
+
+ ev.data.filler.outerHeight(parentHeight);
+ ev.data.filler.outerWidth(parentWidth);
+ } else {
+ ev.data.filler.height(fillerHeight + delta)
+ }
+
+ //remove the temporary element
+ if ( isBleeder ) {
+ last.remove();
+ }
+ }
+ });
+})
View
29 fills/fills.md
@@ -0,0 +1,29 @@
+@page jQuery.fills
+@parent jquerypp
+
+`jQuery.fills` adds `[jQuery.fn.fills jQuery.fn.fills(parent)]` which sets an elements height to fill out the
+remaining height of a parent element and keep it up to date when the parent [jQuery.event.resize resizes].
+
+This is extremely useful for complex layouts where sibling elements can wrap automatically and the remaining
+height would have to be determined manually.
+
+## Examples
+
+ // Fill out the parent element
+ $(element).fills();
+ // Fill out the element with id parent
+ $(element).fills('#parent');
+ // Fill out the element with id parent and add a class
+ $(element).fills({
+ parent : '#parent',
+ className : 'filling'
+ });
+
+## Demo
+
+The following example shows a [resizable](http://jqueryui.com/demos/resizable/) `div` with a 10px padding and two
+paragraphs. Resize it to see how the `#mainfiller` element adjust it's size properly including the paragraphs margin
+and the parent element padding even when a paragraph wraps.
+You can also see how fills adjusts areas with scrollbars by clicking *run* in the second demo:
+
+@demo jquery/dom/fills/fills.html
View
183 fills/fills1.html
@@ -0,0 +1,183 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+ <title>filler</title>
+ <link type="text/css" href="../resize/resize.css" rel="stylesheet"/>
+ <style type='text/css'>
+ .error {
+ border: solid 1px red;
+ }
+
+ .error_text {
+ color: red;
+ font-size: 10px;
+ }
+
+ td {
+ padding: 3px;
+ }
+
+ body {
+ padding: 0px;
+ margin: 0px;
+ }
+
+ pre {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ body .grid {
+ overflow: auto;
+ }
+ .can_ui_filler {
+ overflow: hidden;
+ }
+
+ .grid th {
+ text-align: left;
+ overflow: hidden;
+ }
+ .grid th a {
+ display: block;
+ }
+ .grid .body {
+ overflow: hidden;
+ width:100%;
+ }
+ .grid table {
+ width: 100%;
+ width:100%;
+
+ }
+ .grid .innerBody, .grid .scrollBody {
+ overflow: auto;
+ }
+ .header {
+ overflow: hidden;
+ border-bottom: solid 1px gray;
+ width: 100%;
+ }
+ .grid th {
+ padding: 2px;
+ }
+ .footer {
+ margin:0px;padding:0px;
+ border-top: solid 1px gray;
+ overflow: hidden;
+ }
+ .can_ui_data_grid div {
+ position: relative;
+ }
+ .pagelisting {
+ width: 35%;
+ }
+ .gridpages {
+ text-align:center;
+ }
+ .gridpages, .pagelisting {
+ padding: 3px 0px;
+ }
+ .pagelisting label {
+ padding: 0px 3px;
+ }
+ .gridpages {
+
+ }
+ .pageinput {
+ width: 35%;
+ margin: 0px;
+ padding: 3px 0px;
+ text-align: right;
+ }
+ .pageinput div {
+ padding: 0px 3px;
+
+ }
+ .pagenumber {
+ font-size: 10px;
+ }
+ </style>
+ <link type="text/css" href="../../data/grid/grid.css" rel="stylesheet"/>
+</head>
+<body>
+
+<div class="grid mxui_grid">
+ <div class="header">
+ <table>
+ <thead>
+ <tr>
+ <td><a href="javascript://" id='fill'>Fill</a> <a href="javascript://" id='height'>Height</a></td>
+ </tr>
+ </thead>
+ </table>
+ </div>
+
+ <div class="body" style="">
+ <a href='javascript://' id='clear'>clear</a>
+ </div>
+ <table class="footer">
+ <tbody>
+ <tr>
+ <td class="pagelisting"><label>Page 1 of 1 (50 records)</label></td>
+ <td class="gridpages mxui_paginator_page">
+ <div class="toolbar_button first_record ">
+ First
+ </div>
+ <div class="toolbar_button previous_record ">
+ Prev
+ </div>
+ <div class="pages">
+
+ <div class="page active">
+ <a>1</a>
+
+ </div>
+
+ </div>
+ <div class="toolbar_button next_record ">
+ Next
+ </div>
+ <div class="toolbar_button last_record ">
+ Last
+ </div>
+ </td>
+ <td class="pageinput">
+ <form action="">
+ Go to Page <input type="text" class="pagenumber" size="2">
+ </form>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>
+
+
+<script type='text/javascript'
+ src='../../../steal/steal.js'>
+</script>
+<script type='text/javascript'>
+ logg = function (text) {
+ $("#clear").after("<pre>" + text + "</pre>")
+ }
+
+ steal('jquery/dom/fills').then(function () {
+ $("#fill").click(function () {
+ $(function () {
+ $(".grid").fills();
+ $(".body").fills();
+ })
+ });
+
+ $("#clear").click(function () {
+ $(this).siblings().remove();
+ });
+
+ $("#height").click(function () {
+ $(".grid").height(200)
+ });
+ });
+</script>
+</body>
+</html>
View
70 fills/fills2.html
@@ -0,0 +1,70 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+ <head>
+ <title>filler</title>
+ <style>
+ .container {
+ width: 320px;
+ height: 320px;
+ border: 1px dashed blue;
+ margin: 20px;
+ }
+ .header {
+ width: 320px;
+ height: 60px;
+ background-color: green;
+ }
+ .content {
+ background-color: red;
+ }
+ #containerV,
+ #containerH {
+ float: left;
+ }
+
+ #contentH {
+ height: 320px;
+ }
+ </style>
+ </head>
+ <body>
+
+
+ <div id="filler_tests">
+ <div id="containerV" class="container">
+ <button name="adjustHeight">Adjust Height</button>
+ <div id="headerV" class="header"></div>
+ <div id="contentV" class="content"></div>
+ </div>
+
+ <div id="containerH" class="container">
+ <button name="adjustWidth">Adjust Width</button>
+ <div id="contentH" class="content"></div>
+ </div>
+ </div>
+
+ <script type='text/javascript'
+ src='../../../steal/steal.js'>
+ </script>
+ <script type='text/javascript'>
+ steal('jquery/dom/fills').then(function($){
+ $("button[name=adjustWidth]").click(function(ev) {
+ var w = $("#containerH").width();
+ w == 320 ? $("#containerH").width(480) : $("#containerH").width(320);
+ $("#containerH").trigger("resize");
+ });
+ $("button[name=adjustHeight]").click(function(ev) {
+ var h = $("#containerV").height();
+ h == 320 ? $("#containerV").height(480) : $("#containerV").height(320);
+ $("#containerV").trigger("resize");
+ });
+ $("#contentV").fills();
+
+ $("#contentH").fills( { width: true } );
+ $("#containerH").trigger("resize");
+
+ })
+ </script>
+ </body>
+</html>
View
32 fills/fills3.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+ <head>
+ <title>fill 4 </title>
+ <style type='text/css'>
+ body {
+ margin : 0px;
+ padding: 0px;
+ }
+ #panel{
+ border: 2px solid blue;
+ padding: 2em;
+ }
+ .filler{
+ border: 2px solid red;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="panel">
+ <div class="filler"> <center>this element height lacks 2em</center></div>
+ </div>
+<script type='text/javascript' src='../../../steal/steal.js'></script>
+<script type='text/javascript'>
+ steal('jquery/dom/fills').then(function(){
+ $("#panel").fills()
+ $('.filler').fills()
+ })
+</script>
+ </body>
+</html>
View
17 fills/fills_test.js
@@ -0,0 +1,17 @@
+steal('funcunit').then(function(){
+
+module("jQuery.fn.fills",{
+ setup: function(){
+ S.open("//canui/fills/fills.html");
+ }
+})
+
+test("Filler Tests", function(){
+ var main = S.win.$('#main');
+ main.width(main.width() + 100).height(main.height() + 100).trigger('resize');
+ // S('#mainfiller').height()
+})
+
+
+
+})
View
16 fills/funcunit.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+ <link rel="stylesheet" type="text/css" href="../../../funcunit/qunit/qunit.css"/>
+</head>
+ <body>
+ <h1 id="qunit-header">jQuery.fills Test Suite</h1>
+
+ <h2 id="qunit-banner"></h2>
+
+ <div id="qunit-testrunner-toolbar"></div>
+ <h2 id="qunit-userAgent"></h2>
+ <ol id="qunit-tests"></ol>
+ <div id="qunit-test-area"></div>
+ <script type='text/javascript' src='../../../steal/steal.js?jquery/dom/fills/fills_test.js'></script>
+ </body>
+</html>
View
0  data/grid/grid.css → grid/grid.css
File renamed without changes
View
0  data/grid/grid.html → grid/grid.html
File renamed without changes
View
0  data/grid/grid.js → grid/grid.js
File renamed without changes
View
0  data/grid/groupablegrid.html → grid/groupablegrid.html
File renamed without changes
View
0  data/grid/paginatedgrid.html → grid/paginatedgrid.html
File renamed without changes
View
0  data/grid/treegrid.html → grid/treegrid.html
File renamed without changes
View
0  data/grid/views/init.ejs → grid/views/init.ejs
File renamed without changes
View
0  data/grid/views/list.ejs → grid/views/list.ejs
File renamed without changes
View
0  data/grid/views/th.ejs → grid/views/th.ejs
File renamed without changes
View
4 layout/modal/funcunit.html → modal/funcunit.html
@@ -1,6 +1,6 @@
<html>
<head>
- <link rel="stylesheet" type="text/css" href="../../../funcunit/qunit/qunit.css" />
+ <link rel="stylesheet" type="text/css" href="../../funcunit/qunit/qunit.css" />
</head>
<body>
@@ -10,6 +10,6 @@ <h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-test-area"></div>
- <script type='text/javascript' src='../../../steal/steal.js?canui/layout/modal/modal_test.js'></script>
+ <script type='text/javascript' src='../../steal/steal.js?canui/modal/modal_test.js'></script>
</body>
</html>
View
2  layout/modal/modal.css → modal/modal.css
@@ -1,4 +1,4 @@
-.mxui_layout_modal-overlay {
+.modal-overlay {
background: rgba(0,0,0,0.5);
position: fixed;
top: 0;