pakunok 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/.gitignore +7 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +98 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +168 -0
  6. data/Rakefile +37 -0
  7. data/lib/pakunok.rb +4 -0
  8. data/lib/pakunok/version.rb +5 -0
  9. data/lib/tasks/pakunok_tasks.rake +4 -0
  10. data/pakunok.gemspec +24 -0
  11. data/spec/colorpicker_spec.rb +18 -0
  12. data/spec/dummy/Rakefile +7 -0
  13. data/spec/dummy/app/assets/javascripts/application.js +10 -0
  14. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  15. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  16. data/spec/dummy/app/controllers/pages_controller.rb +2 -0
  17. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  18. data/spec/dummy/app/mailers/.gitkeep +0 -0
  19. data/spec/dummy/app/models/.gitkeep +0 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/spec/dummy/app/views/pages/index.html.erb +20 -0
  22. data/spec/dummy/config.ru +4 -0
  23. data/spec/dummy/config/application.rb +47 -0
  24. data/spec/dummy/config/boot.rb +10 -0
  25. data/spec/dummy/config/database.yml +25 -0
  26. data/spec/dummy/config/environment.rb +5 -0
  27. data/spec/dummy/config/environments/development.rb +27 -0
  28. data/spec/dummy/config/environments/production.rb +51 -0
  29. data/spec/dummy/config/environments/test.rb +39 -0
  30. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/spec/dummy/config/initializers/inflections.rb +10 -0
  32. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  33. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  34. data/spec/dummy/config/initializers/session_store.rb +8 -0
  35. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  36. data/spec/dummy/config/locales/en.yml +5 -0
  37. data/spec/dummy/config/routes.rb +60 -0
  38. data/spec/dummy/lib/assets/.gitkeep +0 -0
  39. data/spec/dummy/log/.gitkeep +0 -0
  40. data/spec/dummy/public/404.html +26 -0
  41. data/spec/dummy/public/422.html +26 -0
  42. data/spec/dummy/public/500.html +26 -0
  43. data/spec/dummy/public/favicon.ico +0 -0
  44. data/spec/dummy/script/rails +6 -0
  45. data/spec/fileuploader_spec.rb +29 -0
  46. data/spec/jquery-ui_spec.rb +71 -0
  47. data/spec/jquery_spec.rb +10 -0
  48. data/spec/misc_spec.rb +23 -0
  49. data/spec/spec_helper.rb +10 -0
  50. data/spec/support/global.rb +12 -0
  51. data/spec/support/matchers.rb +64 -0
  52. data/vendor/assets/images/pakunok/colorpicker/colorpicker_background.png +0 -0
  53. data/vendor/assets/images/pakunok/colorpicker/colorpicker_hex.png +0 -0
  54. data/vendor/assets/images/pakunok/colorpicker/colorpicker_hsb_b.png +0 -0
  55. data/vendor/assets/images/pakunok/colorpicker/colorpicker_hsb_h.png +0 -0
  56. data/vendor/assets/images/pakunok/colorpicker/colorpicker_hsb_s.png +0 -0
  57. data/vendor/assets/images/pakunok/colorpicker/colorpicker_indic.gif +0 -0
  58. data/vendor/assets/images/pakunok/colorpicker/colorpicker_overlay.png +0 -0
  59. data/vendor/assets/images/pakunok/colorpicker/colorpicker_rgb_b.png +0 -0
  60. data/vendor/assets/images/pakunok/colorpicker/colorpicker_rgb_g.png +0 -0
  61. data/vendor/assets/images/pakunok/colorpicker/colorpicker_rgb_r.png +0 -0
  62. data/vendor/assets/images/pakunok/colorpicker/colorpicker_select.gif +0 -0
  63. data/vendor/assets/images/pakunok/colorpicker/colorpicker_submit.png +0 -0
  64. data/vendor/assets/images/pakunok/fileuploader/loading.gif +0 -0
  65. data/vendor/assets/javascripts/pakunok/colorpicker.js +484 -0
  66. data/vendor/assets/javascripts/pakunok/fileuploader.js +1247 -0
  67. data/vendor/assets/javascripts/pakunok/innershiv.js +87 -0
  68. data/vendor/assets/javascripts/pakunok/jquery-ui.js +20 -0
  69. data/vendor/assets/javascripts/pakunok/jquery-ui/accordion.js +1 -0
  70. data/vendor/assets/javascripts/pakunok/jquery-ui/autocomplete.js +1 -0
  71. data/vendor/assets/javascripts/pakunok/jquery-ui/button.js +1 -0
  72. data/vendor/assets/javascripts/pakunok/jquery-ui/core.js +1 -0
  73. data/vendor/assets/javascripts/pakunok/jquery-ui/datepicker.js +1 -0
  74. data/vendor/assets/javascripts/pakunok/jquery-ui/dialog.js +1 -0
  75. data/vendor/assets/javascripts/pakunok/jquery-ui/draggable.js +1 -0
  76. data/vendor/assets/javascripts/pakunok/jquery-ui/droppable.js +1 -0
  77. data/vendor/assets/javascripts/pakunok/jquery-ui/effects.js +14 -0
  78. data/vendor/assets/javascripts/pakunok/jquery-ui/mouse.js +1 -0
  79. data/vendor/assets/javascripts/pakunok/jquery-ui/order.txt +485 -0
  80. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/accordion.js +4 -0
  81. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/autocomplete.js +5 -0
  82. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/basic.js +5 -0
  83. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/button.js +4 -0
  84. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/datepicker.js +3 -0
  85. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/dialog.js +8 -0
  86. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/draggable.js +5 -0
  87. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/droppable.js +3 -0
  88. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/effects.js +1 -0
  89. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/progressbar.js +4 -0
  90. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/resizable.js +5 -0
  91. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/selectable.js +5 -0
  92. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/slider.js +5 -0
  93. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/sortable.js +5 -0
  94. data/vendor/assets/javascripts/pakunok/jquery-ui/pack/tabs.js +4 -0
  95. data/vendor/assets/javascripts/pakunok/jquery-ui/position.js +1 -0
  96. data/vendor/assets/javascripts/pakunok/jquery-ui/progressbar.js +1 -0
  97. data/vendor/assets/javascripts/pakunok/jquery-ui/resizable.js +1 -0
  98. data/vendor/assets/javascripts/pakunok/jquery-ui/selectable.js +1 -0
  99. data/vendor/assets/javascripts/pakunok/jquery-ui/slider.js +1 -0
  100. data/vendor/assets/javascripts/pakunok/jquery-ui/sortable.js +1 -0
  101. data/vendor/assets/javascripts/pakunok/jquery-ui/tabs.js +1 -0
  102. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery-ui-i18n.js +1379 -0
  103. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  104. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  105. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  106. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  107. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  108. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  109. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  110. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  111. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  112. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  113. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  114. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  115. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  116. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  117. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  118. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  119. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  120. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  121. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  122. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  123. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  124. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  125. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  126. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  127. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  128. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  129. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  130. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  131. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  132. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  133. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  134. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  135. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  136. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  137. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  138. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  139. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  140. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  141. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  142. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  143. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  144. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  145. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  146. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  147. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  148. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  149. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  150. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  151. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  152. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  153. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  154. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  155. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  156. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  157. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  158. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  159. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  160. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  161. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  162. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  163. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  164. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.blind.js +49 -0
  165. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.bounce.js +78 -0
  166. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.clip.js +54 -0
  167. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.core.js +746 -0
  168. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.drop.js +50 -0
  169. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.explode.js +79 -0
  170. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.fade.js +32 -0
  171. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.fold.js +56 -0
  172. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.highlight.js +50 -0
  173. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.pulsate.js +51 -0
  174. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.scale.js +178 -0
  175. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.shake.js +57 -0
  176. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.slide.js +50 -0
  177. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.effects.transfer.js +45 -0
  178. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.accordion.js +611 -0
  179. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.autocomplete.js +612 -0
  180. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.button.js +416 -0
  181. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.core.js +314 -0
  182. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.datepicker.js +1824 -0
  183. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.dialog.js +878 -0
  184. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.draggable.js +823 -0
  185. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.droppable.js +296 -0
  186. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.mouse.js +156 -0
  187. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.position.js +252 -0
  188. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.progressbar.js +109 -0
  189. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.resizable.js +842 -0
  190. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.selectable.js +266 -0
  191. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.slider.js +666 -0
  192. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.sortable.js +1077 -0
  193. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.tabs.js +758 -0
  194. data/vendor/assets/javascripts/pakunok/jquery-ui/ui/jquery.ui.widget.js +262 -0
  195. data/vendor/assets/javascripts/pakunok/jquery-ui/widget.js +1 -0
  196. data/vendor/assets/javascripts/pakunok/jquery.form.js +911 -0
  197. data/vendor/assets/javascripts/pakunok/jquery.js +1 -0
  198. data/vendor/assets/javascripts/pakunok/jquery.jscrollpane.js +1390 -0
  199. data/vendor/assets/javascripts/pakunok/jquery.mousewheel.js +78 -0
  200. data/vendor/assets/javascripts/pakunok/jquery.validate.js +1166 -0
  201. data/vendor/assets/javascripts/pakunok/jquery.validate/additional-methods.js +280 -0
  202. data/vendor/assets/javascripts/pakunok/jquery.viewport.js +58 -0
  203. data/vendor/assets/javascripts/pakunok/jquery/jquery-1.5.2.js +8374 -0
  204. data/vendor/assets/javascripts/pakunok/jquery/jquery-1.6.2.js +8981 -0
  205. data/vendor/assets/javascripts/pakunok/mwheelIntent.js +76 -0
  206. data/vendor/assets/stylesheets/pakunok/colorpicker.css.erb +161 -0
  207. data/vendor/assets/stylesheets/pakunok/fileuploader.css.erb +31 -0
  208. data/vendor/assets/stylesheets/pakunok/jquery.jscrollpane.css +120 -0
  209. metadata +292 -0
@@ -0,0 +1,87 @@
1
+ /* innerShiv: makes HTML5shim work on innerHTML & jQuery
2
+ * http://jdbartlett.github.com/innershiv
3
+ *
4
+ * This program is free software. It comes without any warranty, to
5
+ * the extent permitted by applicable law. You can redistribute it
6
+ * and/or modify it under the terms of the Do What The Fuck You Want
7
+ * To Public License, Version 2, as published by Sam Hocevar. See
8
+ * http://sam.zoy.org/wtfpl/COPYING for more details.
9
+ */
10
+ window.innerShiv = (function () {
11
+ var div;
12
+ var doc = document;
13
+ var needsShiv;
14
+
15
+ // Array of elements that are new in HTML5
16
+ var html5 = 'abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video'.split(' ');
17
+
18
+ // Used to idiot-proof self-closing tags
19
+ function fcloseTag(all, front, tag) {
20
+ return (/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i).test(tag) ? all : front + '></' + tag + '>';
21
+ }
22
+
23
+ return function (
24
+ html, /* string */
25
+ returnFrag /* optional false bool */
26
+ ) {
27
+ if (!div) {
28
+ div = doc.createElement('div');
29
+
30
+ // needsShiv if can't use HTML5 elements with innerHTML outside the DOM
31
+ div.innerHTML = '<nav></nav>';
32
+ needsShiv = div.childNodes.length !== 1;
33
+
34
+ if (needsShiv) {
35
+ // MSIE allows you to create elements in the context of a document
36
+ // fragment. Jon Neal first discovered this trick and used it in his
37
+ // own shimprove: http://www.iecss.com/shimprove/
38
+ var shimmedFrag = doc.createDocumentFragment();
39
+ var i = html5.length;
40
+ while (i--) {
41
+ shimmedFrag.createElement(html5[i]);
42
+ }
43
+
44
+ shimmedFrag.appendChild(div);
45
+ }
46
+ }
47
+
48
+ html = html
49
+ // Trim whitespace to avoid unexpected text nodes in return data:
50
+ .replace(/^\s\s*/, '').replace(/\s\s*$/, '')
51
+ // Strip any scripts:
52
+ .replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '')
53
+ // Fix misuses of self-closing tags:
54
+ .replace(/(<([\w:]+)[^>]*?)\/>/g, fcloseTag)
55
+ ;
56
+
57
+ // Fix for using innerHTML in a table
58
+ var tabled;
59
+ if (tabled = html.match(/^<(tbody|tr|td|th|col|colgroup|thead|tfoot)[\s\/>]/i)) {
60
+ div.innerHTML = '<table>' + html + '</table>';
61
+ } else {
62
+ div.innerHTML = html;
63
+ }
64
+
65
+ // Avoid returning the tbody or tr when fixing for table use
66
+ var scope;
67
+ if (tabled) {
68
+ scope = div.getElementsByTagName(tabled[1])[0].parentNode;
69
+ } else {
70
+ scope = div;
71
+ }
72
+
73
+ // If not in jQuery return mode, return child nodes array
74
+ if (returnFrag === false) {
75
+ return scope.childNodes;
76
+ }
77
+
78
+ // ...otherwise, build a fragment to return
79
+ var returnedFrag = doc.createDocumentFragment();
80
+ var j = scope.childNodes.length;
81
+ while (j--) {
82
+ returnedFrag.appendChild(scope.firstChild);
83
+ }
84
+
85
+ return returnedFrag;
86
+ };
87
+ }());
@@ -0,0 +1,20 @@
1
+ //= require 'pakunok/jquery-ui/core'
2
+ //= require 'pakunok/jquery-ui/widget'
3
+ //= require 'pakunok/jquery-ui/position'
4
+ //= require 'pakunok/jquery-ui/mouse'
5
+ //= require 'pakunok/jquery-ui/accordion'
6
+ //= require 'pakunok/jquery-ui/autocomplete'
7
+ //= require 'pakunok/jquery-ui/button'
8
+ //= require 'pakunok/jquery-ui/datepicker'
9
+ //= require 'pakunok/jquery-ui/dialog'
10
+ //= require 'pakunok/jquery-ui/draggable'
11
+ //= require 'pakunok/jquery-ui/droppable'
12
+ //= require 'pakunok/jquery-ui/effects'
13
+ //= require 'pakunok/jquery-ui/progressbar'
14
+ //= require 'pakunok/jquery-ui/resizable'
15
+ //= require 'pakunok/jquery-ui/selectable'
16
+ //= require 'pakunok/jquery-ui/slider'
17
+ //= require 'pakunok/jquery-ui/sortable'
18
+ //= require 'pakunok/jquery-ui/tabs'
19
+
20
+
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.accordion'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.autocomplete'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.button'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.core'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.datepicker'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.dialog'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.draggable'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.droppable'
@@ -0,0 +1,14 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.blind'
2
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.bounce'
3
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.clip'
4
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.core'
5
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.drop'
6
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.explode'
7
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.fade'
8
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.fold'
9
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.highlight'
10
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.pulsate'
11
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.scale'
12
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.shake'
13
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.slide'
14
+ //= require 'pakunok/jquery-ui/ui/jquery.effects.transfer'
@@ -0,0 +1 @@
1
+ //= require 'pakunok/jquery-ui/ui/jquery.ui.mouse'
@@ -0,0 +1,485 @@
1
+ /*!
2
+ * jQuery UI 1.8.15
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI
9
+ */
10
+
11
+
12
+
13
+ /*!
14
+ * jQuery UI Widget 1.8.15
15
+ *
16
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
17
+ * Dual licensed under the MIT or GPL Version 2 licenses.
18
+ * http://jquery.org/license
19
+ *
20
+ * http://docs.jquery.com/UI/Widget
21
+ */
22
+
23
+
24
+ /*!
25
+ * jQuery UI Mouse 1.8.15
26
+ *
27
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
28
+ * Dual licensed under the MIT or GPL Version 2 licenses.
29
+ * http://jquery.org/license
30
+ *
31
+ * http://docs.jquery.com/UI/Mouse
32
+ *
33
+ * Depends:
34
+ * jquery.ui.widget.js
35
+ */
36
+
37
+
38
+ /*
39
+ * jQuery UI Position 1.8.15
40
+ *
41
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
42
+ * Dual licensed under the MIT or GPL Version 2 licenses.
43
+ * http://jquery.org/license
44
+ *
45
+ * http://docs.jquery.com/UI/Position
46
+ */
47
+
48
+
49
+ /*
50
+ * jQuery UI Draggable 1.8.15
51
+ *
52
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
53
+ * Dual licensed under the MIT or GPL Version 2 licenses.
54
+ * http://jquery.org/license
55
+ *
56
+ * http://docs.jquery.com/UI/Draggables
57
+ *
58
+ * Depends:
59
+ * jquery.ui.core.js
60
+ * jquery.ui.mouse.js
61
+ * jquery.ui.widget.js
62
+ */
63
+
64
+
65
+
66
+ /*
67
+ * jQuery UI Droppable 1.8.15
68
+ *
69
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
70
+ * Dual licensed under the MIT or GPL Version 2 licenses.
71
+ * http://jquery.org/license
72
+ *
73
+ * http://docs.jquery.com/UI/Droppables
74
+ *
75
+ * Depends:
76
+ * jquery.ui.core.js
77
+ * jquery.ui.widget.js
78
+ * jquery.ui.mouse.js
79
+ * jquery.ui.draggable.js
80
+ */
81
+
82
+
83
+
84
+ /*
85
+ * jQuery UI Resizable 1.8.15
86
+ *
87
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
88
+ * Dual licensed under the MIT or GPL Version 2 licenses.
89
+ * http://jquery.org/license
90
+ *
91
+ * http://docs.jquery.com/UI/Resizables
92
+ *
93
+ * Depends:
94
+ * jquery.ui.core.js
95
+ * jquery.ui.mouse.js
96
+ * jquery.ui.widget.js
97
+ */
98
+
99
+
100
+
101
+ /*
102
+ * jQuery UI Selectable 1.8.15
103
+ *
104
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
105
+ * Dual licensed under the MIT or GPL Version 2 licenses.
106
+ * http://jquery.org/license
107
+ *
108
+ * http://docs.jquery.com/UI/Selectables
109
+ *
110
+ * Depends:
111
+ * jquery.ui.core.js
112
+ * jquery.ui.mouse.js
113
+ * jquery.ui.widget.js
114
+ */
115
+
116
+
117
+
118
+ /*
119
+ * jQuery UI Sortable 1.8.15
120
+ *
121
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
122
+ * Dual licensed under the MIT or GPL Version 2 licenses.
123
+ * http://jquery.org/license
124
+ *
125
+ * http://docs.jquery.com/UI/Sortables
126
+ *
127
+ * Depends:
128
+ * jquery.ui.core.js
129
+ * jquery.ui.mouse.js
130
+ * jquery.ui.widget.js
131
+ */
132
+
133
+
134
+ /*
135
+ * jQuery UI Accordion 1.8.15
136
+ *
137
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
138
+ * Dual licensed under the MIT or GPL Version 2 licenses.
139
+ * http://jquery.org/license
140
+ *
141
+ * http://docs.jquery.com/UI/Accordion
142
+ *
143
+ * Depends:
144
+ * jquery.ui.core.js
145
+ * jquery.ui.widget.js
146
+ */
147
+
148
+
149
+
150
+ /*
151
+ * jQuery UI Autocomplete 1.8.15
152
+ *
153
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
154
+ * Dual licensed under the MIT or GPL Version 2 licenses.
155
+ * http://jquery.org/license
156
+ *
157
+ * http://docs.jquery.com/UI/Autocomplete
158
+ *
159
+ * Depends:
160
+ * jquery.ui.core.js
161
+ * jquery.ui.widget.js
162
+ * jquery.ui.position.js
163
+ */
164
+
165
+
166
+
167
+ /*
168
+ * jQuery UI Menu (not officially released)
169
+ *
170
+ * This widget isn't yet finished and the API is subject to change. We plan to finish
171
+ * it for the next release. You're welcome to give it a try anyway and give us feedback,
172
+ * as long as you're okay with migrating your code later on. We can help with that, too.
173
+ *
174
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
175
+ * Dual licensed under the MIT or GPL Version 2 licenses.
176
+ * http://jquery.org/license
177
+ *
178
+ * http://docs.jquery.com/UI/Menu
179
+ *
180
+ * Depends:
181
+ * jquery.ui.core.js
182
+ * jquery.ui.widget.js
183
+ */
184
+
185
+
186
+
187
+ /*
188
+ * jQuery UI Button 1.8.15
189
+ *
190
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
191
+ * Dual licensed under the MIT or GPL Version 2 licenses.
192
+ * http://jquery.org/license
193
+ *
194
+ * http://docs.jquery.com/UI/Button
195
+ *
196
+ * Depends:
197
+ * jquery.ui.core.js
198
+ * jquery.ui.widget.js
199
+ */
200
+
201
+
202
+
203
+ /*
204
+ * jQuery UI Dialog 1.8.15
205
+ *
206
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
207
+ * Dual licensed under the MIT or GPL Version 2 licenses.
208
+ * http://jquery.org/license
209
+ *
210
+ * http://docs.jquery.com/UI/Dialog
211
+ *
212
+ * Depends:
213
+ * jquery.ui.core.js
214
+ * jquery.ui.widget.js
215
+ * jquery.ui.button.js
216
+ * jquery.ui.draggable.js
217
+ * jquery.ui.mouse.js
218
+ * jquery.ui.position.js
219
+ * jquery.ui.resizable.js
220
+ */
221
+
222
+
223
+
224
+ /*
225
+ * jQuery UI Slider 1.8.15
226
+ *
227
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
228
+ * Dual licensed under the MIT or GPL Version 2 licenses.
229
+ * http://jquery.org/license
230
+ *
231
+ * http://docs.jquery.com/UI/Slider
232
+ *
233
+ * Depends:
234
+ * jquery.ui.core.js
235
+ * jquery.ui.mouse.js
236
+ * jquery.ui.widget.js
237
+ */
238
+
239
+
240
+
241
+ /*
242
+ * jQuery UI Tabs 1.8.15
243
+ *
244
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
245
+ * Dual licensed under the MIT or GPL Version 2 licenses.
246
+ * http://jquery.org/license
247
+ *
248
+ * http://docs.jquery.com/UI/Tabs
249
+ *
250
+ * Depends:
251
+ * jquery.ui.core.js
252
+ * jquery.ui.widget.js
253
+ */
254
+
255
+
256
+
257
+ /*
258
+ * jQuery UI Datepicker 1.8.15
259
+ *
260
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
261
+ * Dual licensed under the MIT or GPL Version 2 licenses.
262
+ * http://jquery.org/license
263
+ *
264
+ * http://docs.jquery.com/UI/Datepicker
265
+ *
266
+ * Depends:
267
+ * jquery.ui.core.js
268
+ */
269
+
270
+
271
+
272
+ /*
273
+ * jQuery UI Progressbar 1.8.15
274
+ *
275
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
276
+ * Dual licensed under the MIT or GPL Version 2 licenses.
277
+ * http://jquery.org/license
278
+ *
279
+ * http://docs.jquery.com/UI/Progressbar
280
+ *
281
+ * Depends:
282
+ * jquery.ui.core.js
283
+ * jquery.ui.widget.js
284
+ */
285
+
286
+
287
+
288
+ /*
289
+ * jQuery UI Effects 1.8.15
290
+ *
291
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
292
+ * Dual licensed under the MIT or GPL Version 2 licenses.
293
+ * http://jquery.org/license
294
+ *
295
+ * http://docs.jquery.com/UI/Effects/
296
+ */
297
+
298
+
299
+
300
+ /*
301
+ * jQuery UI Effects Blind 1.8.15
302
+ *
303
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
304
+ * Dual licensed under the MIT or GPL Version 2 licenses.
305
+ * http://jquery.org/license
306
+ *
307
+ * http://docs.jquery.com/UI/Effects/Blind
308
+ *
309
+ * Depends:
310
+ * jquery.effects.core.js
311
+ */
312
+
313
+
314
+ /*
315
+ * jQuery UI Effects Bounce 1.8.15
316
+ *
317
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
318
+ * Dual licensed under the MIT or GPL Version 2 licenses.
319
+ * http://jquery.org/license
320
+ *
321
+ * http://docs.jquery.com/UI/Effects/Bounce
322
+ *
323
+ * Depends:
324
+ * jquery.effects.core.js
325
+ */
326
+
327
+
328
+ /*
329
+ * jQuery UI Effects Clip 1.8.15
330
+ *
331
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
332
+ * Dual licensed under the MIT or GPL Version 2 licenses.
333
+ * http://jquery.org/license
334
+ *
335
+ * http://docs.jquery.com/UI/Effects/Clip
336
+ *
337
+ * Depends:
338
+ * jquery.effects.core.js
339
+ */
340
+
341
+
342
+
343
+ /*
344
+ * jQuery UI Effects Drop 1.8.15
345
+ *
346
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
347
+ * Dual licensed under the MIT or GPL Version 2 licenses.
348
+ * http://jquery.org/license
349
+ *
350
+ * http://docs.jquery.com/UI/Effects/Drop
351
+ *
352
+ * Depends:
353
+ * jquery.effects.core.js
354
+ */
355
+
356
+
357
+
358
+ /*
359
+ * jQuery UI Effects Explode 1.8.15
360
+ *
361
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
362
+ * Dual licensed under the MIT or GPL Version 2 licenses.
363
+ * http://jquery.org/license
364
+ *
365
+ * http://docs.jquery.com/UI/Effects/Explode
366
+ *
367
+ * Depends:
368
+ * jquery.effects.core.js
369
+ */
370
+
371
+
372
+
373
+ /*
374
+ * jQuery UI Effects Fade 1.8.15
375
+ *
376
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
377
+ * Dual licensed under the MIT or GPL Version 2 licenses.
378
+ * http://jquery.org/license
379
+ *
380
+ * http://docs.jquery.com/UI/Effects/Fade
381
+ *
382
+ * Depends:
383
+ * jquery.effects.core.js
384
+ */
385
+
386
+
387
+
388
+ /*
389
+ * jQuery UI Effects Fold 1.8.15
390
+ *
391
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
392
+ * Dual licensed under the MIT or GPL Version 2 licenses.
393
+ * http://jquery.org/license
394
+ *
395
+ * http://docs.jquery.com/UI/Effects/Fold
396
+ *
397
+ * Depends:
398
+ * jquery.effects.core.js
399
+ */
400
+
401
+
402
+
403
+ /*
404
+ * jQuery UI Effects Highlight 1.8.15
405
+ *
406
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
407
+ * Dual licensed under the MIT or GPL Version 2 licenses.
408
+ * http://jquery.org/license
409
+ *
410
+ * http://docs.jquery.com/UI/Effects/Highlight
411
+ *
412
+ * Depends:
413
+ * jquery.effects.core.js
414
+ */
415
+
416
+
417
+
418
+ /*
419
+ * jQuery UI Effects Pulsate 1.8.15
420
+ *
421
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
422
+ * Dual licensed under the MIT or GPL Version 2 licenses.
423
+ * http://jquery.org/license
424
+ *
425
+ * http://docs.jquery.com/UI/Effects/Pulsate
426
+ *
427
+ * Depends:
428
+ * jquery.effects.core.js
429
+ */
430
+
431
+
432
+
433
+ /*
434
+ * jQuery UI Effects Scale 1.8.15
435
+ *
436
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
437
+ * Dual licensed under the MIT or GPL Version 2 licenses.
438
+ * http://jquery.org/license
439
+ *
440
+ * http://docs.jquery.com/UI/Effects/Scale
441
+ *
442
+ * Depends:
443
+ * jquery.effects.core.js
444
+ */
445
+
446
+
447
+
448
+ /*
449
+ * jQuery UI Effects Shake 1.8.15
450
+ *
451
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
452
+ * Dual licensed under the MIT or GPL Version 2 licenses.
453
+ * http://jquery.org/license
454
+ *
455
+ * http://docs.jquery.com/UI/Effects/Shake
456
+ *
457
+ * Depends:
458
+ * jquery.effects.core.js
459
+ */
460
+ /*
461
+ * jQuery UI Effects Slide 1.8.15
462
+ *
463
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
464
+ * Dual licensed under the MIT or GPL Version 2 licenses.
465
+ * http://jquery.org/license
466
+ *
467
+ * http://docs.jquery.com/UI/Effects/Slide
468
+ *
469
+ * Depends:
470
+ * jquery.effects.core.js
471
+ */
472
+
473
+ /*
474
+ * jQuery UI Effects Transfer 1.8.15
475
+ *
476
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
477
+ * Dual licensed under the MIT or GPL Version 2 licenses.
478
+ * http://jquery.org/license
479
+ *
480
+ * http://docs.jquery.com/UI/Effects/Transfer
481
+ *
482
+ * Depends:
483
+ * jquery.effects.core.js
484
+ */
485
+