patternfly-sass 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +4 -4
  2. data/.bowerrc +1 -1
  3. data/.gitignore +2 -4
  4. data/.travis.yml +6 -3
  5. data/README.md +187 -26
  6. data/Rakefile +21 -17
  7. data/assets/stylesheets/patternfly/_variables.scss +206 -206
  8. data/bower.json +11 -12
  9. data/lib/patternfly-sass/version.rb +2 -2
  10. data/patternfly-sass.gemspec +1 -1
  11. data/{tests → spec}/capture.js +0 -0
  12. data/spec/compare_spec.rb +15 -5
  13. data/{tests/patternfly → spec/html}/accordions.html +0 -0
  14. data/{tests/patternfly → spec/html}/alerts.html +0 -0
  15. data/{tests/patternfly → spec/html}/badges.html +0 -0
  16. data/{tests/patternfly → spec/html}/basic.html +0 -0
  17. data/{tests/patternfly → spec/html}/blank-slate.html +0 -0
  18. data/{tests/patternfly → spec/html}/bootstrap-combobox.html +0 -0
  19. data/{tests/patternfly → spec/html}/bootstrap-select.html +0 -0
  20. data/{tests/patternfly → spec/html}/bootstrap-treeview-2.html +0 -0
  21. data/{tests/patternfly → spec/html}/bootstrap-treeview.html +0 -0
  22. data/{tests/patternfly → spec/html}/breadcrumbs.html +0 -0
  23. data/{tests/patternfly → spec/html}/buttons.html +0 -0
  24. data/{tests/patternfly → spec/html}/code.html +0 -0
  25. data/{tests/patternfly → spec/html}/dashboard.html +0 -0
  26. data/{tests/patternfly → spec/html}/datatables-columns.html +0 -0
  27. data/{tests/patternfly → spec/html}/datatables.html +0 -0
  28. data/{tests/patternfly → spec/html}/dist/css/patternfly.css +0 -0
  29. data/{tests/patternfly → spec/html}/dist/css/patternfly.min.css +0 -0
  30. data/{tests/patternfly → spec/html}/dist/css/styles.css +0 -0
  31. data/{tests/patternfly → spec/html}/dist/css/styles.min.css +0 -0
  32. data/{tests/patternfly → spec/html}/dropdowns.html +0 -0
  33. data/{tests/patternfly → spec/html}/form.html +0 -0
  34. data/{tests/patternfly → spec/html}/forms.html +0 -0
  35. data/{tests/patternfly → spec/html}/icons.html +0 -0
  36. data/{tests/patternfly → spec/html}/img/dashboard-1.png +0 -0
  37. data/{tests/patternfly → spec/html}/img/dashboard-2.png +0 -0
  38. data/{tests/patternfly → spec/html}/img/dashboard-3.png +0 -0
  39. data/{tests/patternfly → spec/html}/img/dashboard-4.png +0 -0
  40. data/{tests/patternfly → spec/html}/index.html +0 -0
  41. data/{tests/patternfly → spec/html}/infotip.html +0 -0
  42. data/{tests/patternfly → spec/html}/labels.html +0 -0
  43. data/{tests/patternfly → spec/html}/list-group.html +0 -0
  44. data/{tests/patternfly → spec/html}/login.html +0 -0
  45. data/{tests/index.html → spec/html/main.html} +0 -0
  46. data/{tests/patternfly → spec/html}/modals.html +0 -0
  47. data/{tests/patternfly → spec/html}/navbar.html +0 -0
  48. data/{tests/patternfly → spec/html}/pagination.html +0 -0
  49. data/{tests/patternfly → spec/html}/panels.html +0 -0
  50. data/{tests/patternfly → spec/html}/popovers.html +0 -0
  51. data/{tests/patternfly → spec/html}/progress-bars.html +0 -0
  52. data/{tests/patternfly → spec/html}/search.html +0 -0
  53. data/{tests/patternfly → spec/html}/spinner.html +0 -0
  54. data/{tests/patternfly → spec/html}/tab.html +0 -0
  55. data/{tests/patternfly → spec/html}/tables.html +0 -0
  56. data/{tests/patternfly → spec/html}/tabs.html +0 -0
  57. data/{tests/patternfly → spec/html}/tests.css +0 -0
  58. data/{tests/patternfly → spec/html}/tooltip.html +0 -0
  59. data/{tests/patternfly → spec/html}/typography-2.css +0 -0
  60. data/{tests/patternfly → spec/html}/typography-2.html +0 -0
  61. data/{tests/patternfly → spec/html}/typography.html +0 -0
  62. data/tasks/converter.rb +6 -9
  63. metadata +103 -626
  64. data/package.json +0 -28
  65. data/tests/components/bootstrap-combobox/.bower.json +0 -14
  66. data/tests/components/bootstrap-combobox/.gitignore +0 -1
  67. data/tests/components/bootstrap-combobox/README.md +0 -59
  68. data/tests/components/bootstrap-combobox/css/bootstrap-combobox.css +0 -42
  69. data/tests/components/bootstrap-combobox/js/bootstrap-combobox.js +0 -438
  70. data/tests/components/bootstrap-combobox/js/tests/index.html +0 -29
  71. data/tests/components/bootstrap-combobox/js/tests/unit/bootstrap-combobox.js +0 -323
  72. data/tests/components/bootstrap-combobox/js/tests/vendor/jquery.js +0 -9597
  73. data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.css +0 -244
  74. data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.js +0 -2152
  75. data/tests/components/bootstrap-combobox/less/combobox.less +0 -55
  76. data/tests/components/bootstrap-select/.bower.json +0 -38
  77. data/tests/components/bootstrap-select/CONTRIBUTING.md +0 -87
  78. data/tests/components/bootstrap-select/README.md +0 -61
  79. data/tests/components/bootstrap-select/bootstrap-select.css +0 -309
  80. data/tests/components/bootstrap-select/bootstrap-select.jquery.json +0 -29
  81. data/tests/components/bootstrap-select/bootstrap-select.js +0 -972
  82. data/tests/components/bootstrap-select/bootstrap-select.min.css +0 -7
  83. data/tests/components/bootstrap-select/bootstrap-select.min.js +0 -8
  84. data/tests/components/bootstrap-select/bower.json +0 -29
  85. data/tests/components/bootstrap-select/composer.json +0 -17
  86. data/tests/components/bootstrap-select/i18n/defaults-cs-CZ.js +0 -29
  87. data/tests/components/bootstrap-select/i18n/defaults-cz-CZ.min.js +0 -6
  88. data/tests/components/bootstrap-select/i18n/defaults-de_DE.js +0 -29
  89. data/tests/components/bootstrap-select/i18n/defaults-de_DE.min.js +0 -6
  90. data/tests/components/bootstrap-select/i18n/defaults-es-CL.js +0 -29
  91. data/tests/components/bootstrap-select/i18n/defaults-es-CL.min.js +0 -6
  92. data/tests/components/bootstrap-select/i18n/defaults-eu.js +0 -30
  93. data/tests/components/bootstrap-select/i18n/defaults-eu.min.js +0 -6
  94. data/tests/components/bootstrap-select/i18n/defaults-it_IT.js +0 -32
  95. data/tests/components/bootstrap-select/i18n/defaults-it_IT.min.js +0 -1
  96. data/tests/components/bootstrap-select/i18n/defaults-nl_NL.js +0 -32
  97. data/tests/components/bootstrap-select/i18n/defaults-nl_NL.min.js +0 -7
  98. data/tests/components/bootstrap-select/i18n/defaults-pl_PL.js +0 -29
  99. data/tests/components/bootstrap-select/i18n/defaults-pl_PL.min.js +0 -6
  100. data/tests/components/bootstrap-select/i18n/defaults-pt_BR.js +0 -33
  101. data/tests/components/bootstrap-select/i18n/defaults-pt_BR.min.js +0 -7
  102. data/tests/components/bootstrap-select/i18n/defaults-ru-RU.js +0 -31
  103. data/tests/components/bootstrap-select/i18n/defaults-ru_RU.min.js +0 -6
  104. data/tests/components/bootstrap-select/i18n/defaults-zh_CN.js +0 -30
  105. data/tests/components/bootstrap-select/i18n/defaults-zh_CN.min.js +0 -6
  106. data/tests/components/bootstrap-select/package.json +0 -31
  107. data/tests/components/bootstrap-select/test.html +0 -62
  108. data/tests/components/bootstrap-treeview/.bower.json +0 -38
  109. data/tests/components/bootstrap-treeview/Gruntfile.js +0 -62
  110. data/tests/components/bootstrap-treeview/LICENSE +0 -202
  111. data/tests/components/bootstrap-treeview/README.md +0 -289
  112. data/tests/components/bootstrap-treeview/app.js +0 -29
  113. data/tests/components/bootstrap-treeview/bower.json +0 -29
  114. data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.css +0 -1
  115. data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.js +0 -1
  116. data/tests/components/bootstrap-treeview/package.json +0 -18
  117. data/tests/components/bootstrap-treeview/public/css/bootstrap-treeview.css +0 -37
  118. data/tests/components/bootstrap-treeview/public/example-dom.html +0 -59
  119. data/tests/components/bootstrap-treeview/public/index.html +0 -333
  120. data/tests/components/bootstrap-treeview/public/js/bootstrap-treeview.js +0 -455
  121. data/tests/components/bootstrap-treeview/screenshot/default.PNG +0 -0
  122. data/tests/components/bootstrap-treeview/src/css/bootstrap-treeview.css +0 -37
  123. data/tests/components/bootstrap-treeview/src/js/bootstrap-treeview.js +0 -455
  124. data/tests/components/datatables-colreorder/.bower.json +0 -22
  125. data/tests/components/datatables-colreorder/License.txt +0 -20
  126. data/tests/components/datatables-colreorder/Readme.md +0 -39
  127. data/tests/components/datatables-colreorder/bower.json +0 -12
  128. data/tests/components/datatables-colreorder/css/dataTables.colReorder.css +0 -14
  129. data/tests/components/datatables-colreorder/examples/alt_insert.xml +0 -30
  130. data/tests/components/datatables-colreorder/examples/col_filter.xml +0 -38
  131. data/tests/components/datatables-colreorder/examples/colvis.xml +0 -26
  132. data/tests/components/datatables-colreorder/examples/fixedcolumns.xml +0 -43
  133. data/tests/components/datatables-colreorder/examples/fixedheader.xml +0 -27
  134. data/tests/components/datatables-colreorder/examples/index.xml +0 -19
  135. data/tests/components/datatables-colreorder/examples/jqueryui.xml +0 -27
  136. data/tests/components/datatables-colreorder/examples/new_init.xml +0 -23
  137. data/tests/components/datatables-colreorder/examples/predefined.xml +0 -30
  138. data/tests/components/datatables-colreorder/examples/realtime.xml +0 -30
  139. data/tests/components/datatables-colreorder/examples/reset.xml +0 -41
  140. data/tests/components/datatables-colreorder/examples/scrolling.xml +0 -27
  141. data/tests/components/datatables-colreorder/examples/server_side.xml +0 -38
  142. data/tests/components/datatables-colreorder/examples/simple.xml +0 -25
  143. data/tests/components/datatables-colreorder/examples/state_save.xml +0 -26
  144. data/tests/components/datatables-colreorder/images/.DS_Store +0 -0
  145. data/tests/components/datatables-colreorder/images/insert.png +0 -0
  146. data/tests/components/datatables-colreorder/js/dataTables.colReorder.js +0 -1372
  147. data/tests/components/datatables-colreorder/make.sh +0 -31
  148. data/tests/components/datatables-colvis/.bower.json +0 -22
  149. data/tests/components/datatables-colvis/License.txt +0 -20
  150. data/tests/components/datatables-colvis/README.md +0 -38
  151. data/tests/components/datatables-colvis/bower.json +0 -12
  152. data/tests/components/datatables-colvis/css/dataTables.colVis.css +0 -185
  153. data/tests/components/datatables-colvis/css/dataTables.colvis.jqueryui.css +0 -41
  154. data/tests/components/datatables-colvis/examples/.DS_Store +0 -0
  155. data/tests/components/datatables-colvis/examples/button_order.xml +0 -26
  156. data/tests/components/datatables-colvis/examples/exclude_columns.xml +0 -28
  157. data/tests/components/datatables-colvis/examples/group_columns.xml +0 -40
  158. data/tests/components/datatables-colvis/examples/index.xml +0 -18
  159. data/tests/components/datatables-colvis/examples/jqueryui.xml +0 -28
  160. data/tests/components/datatables-colvis/examples/mouseover.xml +0 -28
  161. data/tests/components/datatables-colvis/examples/new_init.xml +0 -26
  162. data/tests/components/datatables-colvis/examples/restore.xml +0 -33
  163. data/tests/components/datatables-colvis/examples/simple.xml +0 -25
  164. data/tests/components/datatables-colvis/examples/text.xml +0 -29
  165. data/tests/components/datatables-colvis/examples/title_callback.xml +0 -30
  166. data/tests/components/datatables-colvis/examples/two_tables.xml +0 -24
  167. data/tests/components/datatables-colvis/examples/two_tables_identical.xml +0 -35
  168. data/tests/components/datatables-colvis/js/dataTables.colVis.js +0 -1123
  169. data/tests/components/datatables-colvis/make.sh +0 -28
  170. data/tests/components/datatables/.bower.json +0 -42
  171. data/tests/components/datatables/Contributing.md +0 -18
  172. data/tests/components/datatables/Readme.md +0 -53
  173. data/tests/components/datatables/bower.json +0 -32
  174. data/tests/components/datatables/license.txt +0 -20
  175. data/tests/components/datatables/media/css/jquery.dataTables.css +0 -455
  176. data/tests/components/datatables/media/css/jquery.dataTables.min.css +0 -1
  177. data/tests/components/datatables/media/css/jquery.dataTables_themeroller.css +0 -416
  178. data/tests/components/datatables/media/images/Sorting icons.psd +0 -0
  179. data/tests/components/datatables/media/images/favicon.ico +0 -0
  180. data/tests/components/datatables/media/images/sort_asc.png +0 -0
  181. data/tests/components/datatables/media/images/sort_asc_disabled.png +0 -0
  182. data/tests/components/datatables/media/images/sort_both.png +0 -0
  183. data/tests/components/datatables/media/images/sort_desc.png +0 -0
  184. data/tests/components/datatables/media/images/sort_desc_disabled.png +0 -0
  185. data/tests/components/datatables/media/js/jquery.dataTables.js +0 -14951
  186. data/tests/components/datatables/media/js/jquery.dataTables.min.js +0 -160
  187. data/tests/components/datatables/media/js/jquery.js +0 -5
  188. data/tests/components/google-code-prettify/.bower.json +0 -26
  189. data/tests/components/google-code-prettify/CHANGES.html +0 -172
  190. data/tests/components/google-code-prettify/COPYING +0 -191
  191. data/tests/components/google-code-prettify/README-zh-Hans.html +0 -143
  192. data/tests/components/google-code-prettify/README.html +0 -233
  193. data/tests/components/google-code-prettify/README.md +0 -54
  194. data/tests/components/google-code-prettify/bin/prettify.min.css +0 -1
  195. data/tests/components/google-code-prettify/bin/prettify.min.js +0 -30
  196. data/tests/components/google-code-prettify/bin/run_prettify.min.js +0 -34
  197. data/tests/components/google-code-prettify/bower.json +0 -16
  198. data/tests/components/google-code-prettify/examples/quine.html +0 -55
  199. data/tests/components/google-code-prettify/src/lang-apollo.js +0 -51
  200. data/tests/components/google-code-prettify/src/lang-basic.js +0 -32
  201. data/tests/components/google-code-prettify/src/lang-clj.js +0 -64
  202. data/tests/components/google-code-prettify/src/lang-css.js +0 -159
  203. data/tests/components/google-code-prettify/src/lang-dart.js +0 -88
  204. data/tests/components/google-code-prettify/src/lang-erlang.js +0 -92
  205. data/tests/components/google-code-prettify/src/lang-go.js +0 -58
  206. data/tests/components/google-code-prettify/src/lang-hs.js +0 -101
  207. data/tests/components/google-code-prettify/src/lang-lisp.js +0 -94
  208. data/tests/components/google-code-prettify/src/lang-llvm.js +0 -61
  209. data/tests/components/google-code-prettify/src/lang-lua.js +0 -59
  210. data/tests/components/google-code-prettify/src/lang-matlab.js +0 -180
  211. data/tests/components/google-code-prettify/src/lang-ml.js +0 -56
  212. data/tests/components/google-code-prettify/src/lang-mumps.js +0 -139
  213. data/tests/components/google-code-prettify/src/lang-n.js +0 -65
  214. data/tests/components/google-code-prettify/src/lang-pascal.js +0 -32
  215. data/tests/components/google-code-prettify/src/lang-proto.js +0 -35
  216. data/tests/components/google-code-prettify/src/lang-r.js +0 -57
  217. data/tests/components/google-code-prettify/src/lang-rd.js +0 -47
  218. data/tests/components/google-code-prettify/src/lang-scala.js +0 -54
  219. data/tests/components/google-code-prettify/src/lang-sql.js +0 -58
  220. data/tests/components/google-code-prettify/src/lang-tcl.js +0 -62
  221. data/tests/components/google-code-prettify/src/lang-tex.js +0 -46
  222. data/tests/components/google-code-prettify/src/lang-vb.js +0 -66
  223. data/tests/components/google-code-prettify/src/lang-vhdl.js +0 -34
  224. data/tests/components/google-code-prettify/src/lang-wiki.js +0 -53
  225. data/tests/components/google-code-prettify/src/lang-xq.js +0 -67
  226. data/tests/components/google-code-prettify/src/lang-yaml.js +0 -27
  227. data/tests/components/google-code-prettify/src/prettify.css +0 -52
  228. data/tests/components/google-code-prettify/src/prettify.js +0 -1655
  229. data/tests/components/google-code-prettify/src/run_prettify.js +0 -1905
  230. data/tests/components/google-code-prettify/styles/demo.html +0 -61
  231. data/tests/components/google-code-prettify/styles/desert.css +0 -34
  232. data/tests/components/google-code-prettify/styles/doxy.css +0 -64
  233. data/tests/components/google-code-prettify/styles/index.html +0 -89
  234. data/tests/components/google-code-prettify/styles/sons-of-obsidian.css +0 -118
  235. data/tests/components/google-code-prettify/styles/sunburst.css +0 -51
  236. data/tests/components/jquery/.bower.json +0 -38
  237. data/tests/components/jquery/MIT-LICENSE.txt +0 -21
  238. data/tests/components/jquery/bower.json +0 -28
  239. data/tests/components/jquery/dist/jquery.js +0 -9210
  240. data/tests/components/jquery/dist/jquery.min.js +0 -5
  241. data/tests/components/jquery/dist/jquery.min.map +0 -1
  242. data/tests/components/jquery/src/ajax.js +0 -786
  243. data/tests/components/jquery/src/ajax/jsonp.js +0 -89
  244. data/tests/components/jquery/src/ajax/load.js +0 -75
  245. data/tests/components/jquery/src/ajax/parseJSON.js +0 -13
  246. data/tests/components/jquery/src/ajax/parseXML.js +0 -28
  247. data/tests/components/jquery/src/ajax/script.js +0 -64
  248. data/tests/components/jquery/src/ajax/var/nonce.js +0 -5
  249. data/tests/components/jquery/src/ajax/var/rquery.js +0 -3
  250. data/tests/components/jquery/src/ajax/xhr.js +0 -136
  251. data/tests/components/jquery/src/attributes.js +0 -11
  252. data/tests/components/jquery/src/attributes/attr.js +0 -141
  253. data/tests/components/jquery/src/attributes/classes.js +0 -158
  254. data/tests/components/jquery/src/attributes/prop.js +0 -94
  255. data/tests/components/jquery/src/attributes/support.js +0 -35
  256. data/tests/components/jquery/src/attributes/val.js +0 -161
  257. data/tests/components/jquery/src/callbacks.js +0 -205
  258. data/tests/components/jquery/src/core.js +0 -502
  259. data/tests/components/jquery/src/core/access.js +0 -60
  260. data/tests/components/jquery/src/core/init.js +0 -123
  261. data/tests/components/jquery/src/core/parseHTML.js +0 -39
  262. data/tests/components/jquery/src/core/ready.js +0 -97
  263. data/tests/components/jquery/src/core/var/rsingleTag.js +0 -4
  264. data/tests/components/jquery/src/css.js +0 -450
  265. data/tests/components/jquery/src/css/addGetHookIf.js +0 -22
  266. data/tests/components/jquery/src/css/curCSS.js +0 -57
  267. data/tests/components/jquery/src/css/defaultDisplay.js +0 -70
  268. data/tests/components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  269. data/tests/components/jquery/src/css/support.js +0 -96
  270. data/tests/components/jquery/src/css/swap.js +0 -28
  271. data/tests/components/jquery/src/css/var/cssExpand.js +0 -3
  272. data/tests/components/jquery/src/css/var/getStyles.js +0 -12
  273. data/tests/components/jquery/src/css/var/isHidden.js +0 -13
  274. data/tests/components/jquery/src/css/var/rmargin.js +0 -3
  275. data/tests/components/jquery/src/css/var/rnumnonpx.js +0 -5
  276. data/tests/components/jquery/src/data.js +0 -178
  277. data/tests/components/jquery/src/data/Data.js +0 -181
  278. data/tests/components/jquery/src/data/accepts.js +0 -20
  279. data/tests/components/jquery/src/data/var/data_priv.js +0 -5
  280. data/tests/components/jquery/src/data/var/data_user.js +0 -5
  281. data/tests/components/jquery/src/deferred.js +0 -149
  282. data/tests/components/jquery/src/deprecated.js +0 -13
  283. data/tests/components/jquery/src/dimensions.js +0 -50
  284. data/tests/components/jquery/src/effects.js +0 -648
  285. data/tests/components/jquery/src/effects/Tween.js +0 -114
  286. data/tests/components/jquery/src/effects/animatedSelector.js +0 -13
  287. data/tests/components/jquery/src/event.js +0 -868
  288. data/tests/components/jquery/src/event/ajax.js +0 -13
  289. data/tests/components/jquery/src/event/alias.js +0 -39
  290. data/tests/components/jquery/src/event/support.js +0 -9
  291. data/tests/components/jquery/src/exports/amd.js +0 -24
  292. data/tests/components/jquery/src/exports/global.js +0 -32
  293. data/tests/components/jquery/src/intro.js +0 -44
  294. data/tests/components/jquery/src/jquery.js +0 -37
  295. data/tests/components/jquery/src/manipulation.js +0 -580
  296. data/tests/components/jquery/src/manipulation/_evalUrl.js +0 -18
  297. data/tests/components/jquery/src/manipulation/support.js +0 -32
  298. data/tests/components/jquery/src/manipulation/var/rcheckableType.js +0 -3
  299. data/tests/components/jquery/src/offset.js +0 -207
  300. data/tests/components/jquery/src/outro.js +0 -1
  301. data/tests/components/jquery/src/queue.js +0 -142
  302. data/tests/components/jquery/src/queue/delay.js +0 -22
  303. data/tests/components/jquery/src/selector-native.js +0 -172
  304. data/tests/components/jquery/src/selector-sizzle.js +0 -14
  305. data/tests/components/jquery/src/selector.js +0 -1
  306. data/tests/components/jquery/src/serialize.js +0 -111
  307. data/tests/components/jquery/src/sizzle/dist/sizzle.js +0 -2067
  308. data/tests/components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
  309. data/tests/components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
  310. data/tests/components/jquery/src/traversing.js +0 -199
  311. data/tests/components/jquery/src/traversing/findFilter.js +0 -100
  312. data/tests/components/jquery/src/traversing/var/rneedsContext.js +0 -6
  313. data/tests/components/jquery/src/var/arr.js +0 -3
  314. data/tests/components/jquery/src/var/class2type.js +0 -4
  315. data/tests/components/jquery/src/var/concat.js +0 -5
  316. data/tests/components/jquery/src/var/hasOwn.js +0 -5
  317. data/tests/components/jquery/src/var/indexOf.js +0 -5
  318. data/tests/components/jquery/src/var/pnum.js +0 -3
  319. data/tests/components/jquery/src/var/push.js +0 -5
  320. data/tests/components/jquery/src/var/rnotwhite.js +0 -3
  321. data/tests/components/jquery/src/var/slice.js +0 -5
  322. data/tests/components/jquery/src/var/strundefined.js +0 -3
  323. data/tests/components/jquery/src/var/support.js +0 -4
  324. data/tests/components/jquery/src/var/toString.js +0 -5
  325. data/tests/components/jquery/src/wrap.js +0 -79
@@ -1,6 +0,0 @@
1
- /*
2
- * Translated default messages for bootstrap-select.
3
- * Locale: zh_CN (Chinese)
4
- * Region:
5
- */
6
- (function(a){a.fn.selectpicker.defaults={style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",noneSelectedText:"没有选中任何项",noneResultsText:"没有找到匹配项",countSelectedText:"选中{1}中的{0}项",maxOptionsText:["超出限制 (最多选择{n}项)","组选择超出限制(最多选择{n}组)"],width:false,container:false,hideDisabled:false,showSubtext:false,showIcon:true,showContent:true,dropupAuto:true,header:false,liveSearch:false,multipleSeparator:", ",iconBase:"glyphicon",tickIcon:"glyphicon-ok"}}(jQuery));
@@ -1,31 +0,0 @@
1
- {
2
- "name": "bootstrap-select",
3
- "title": "bootstrap-select",
4
- "filename": "bootstrap-select.js",
5
- "description": "A custom <select> for Bootstrap using button dropdown as replacement",
6
- "version": "1.5.4",
7
- "homepage": "http://silviomoreto.github.io/bootstrap-select/",
8
- "author": {
9
- "name": "Silvio Moreto",
10
- "url": "https://github.com/silviomoreto/"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git://github.com/antonellopasella/bootstrap-select.git"
15
- },
16
- "licenses": [
17
- {
18
- "type": "MIT",
19
- "url": "https://github.com/silviomoreto/bootstrap-select/blob/master/README.md#copyright-and-license"
20
- }
21
- ],
22
- "dependencies": {
23
- "jquery": "1.8"
24
- },
25
- "keywords": [
26
- "form",
27
- "bootstrap",
28
- "select",
29
- "replacement"
30
- ]
31
- }
@@ -1,62 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title></title>
5
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
6
- <script type="text/javascript" src="bootstrap-select.js"></script>
7
- <link rel="stylesheet" type="text/css" href="bootstrap-select.css">
8
-
9
- <!-- 3.0 -->
10
- <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
11
- <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
12
-
13
- <!-- 2.3.2
14
- <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
15
- <script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.js"></script>
16
- -->
17
- <script type="text/javascript">
18
- $(window).on('load', function () {
19
-
20
- $('.selectpicker').selectpicker({
21
- 'selectedText': 'cat'
22
- });
23
-
24
- // $('.selectpicker').selectpicker('hide');
25
- });
26
- </script>
27
- </head>
28
- <body>
29
- <label for="id_select">Test label YEag</label>
30
- <select id="id_select" class="selectpicker bla bla bli" multiple data-live-search="true">
31
- <option>cow</option>
32
- <option>bull</option>
33
- <option class="get-class" disabled>ox</option>
34
- <optgroup label="test" data-subtext="another test" data-icon="icon-ok">
35
- <option>ASD</option>
36
- <option selected>Bla</option>
37
- <option>Ble</option>
38
- </optgroup>
39
- </select>
40
-
41
- <div class="container">
42
- <form class="form-horizontal" role="form">
43
- <div class="form-group">
44
- <label for="bs3Select" class="col-lg-2 control-label">Test bootstrap 3 form</label>
45
- <div class="col-lg-10">
46
- <select id="bs3Select" class="selectpicker show-tick form-control" multiple data-live-search="true">
47
- <option>cow</option>
48
- <option>bull</option>
49
- <option class="get-class" disabled>ox</option>
50
- <optgroup label="test" data-subtext="another test" data-icon="icon-ok">
51
- <option>ASD</option>
52
- <option selected>Bla</option>
53
- <option>Ble</option>
54
- </optgroup>
55
- </select>
56
- </div>
57
- </div>
58
- <form>
59
- </div>
60
-
61
- </body>
62
- </html>
@@ -1,38 +0,0 @@
1
- {
2
- "name": "bootstrap-treeview",
3
- "version": "1.0.2",
4
- "homepage": "https://github.com/jonmiles/bootstrap-treeview",
5
- "description": "Tree View for Twitter Bootstrap",
6
- "main": [
7
- "dist/bootstrap-treeview.min.js",
8
- "dist/bootstrap-treeview.min.css"
9
- ],
10
- "keywords": [
11
- "Twitter",
12
- "Bootstrap",
13
- "Tree",
14
- "TreeView",
15
- "Navigation"
16
- ],
17
- "ignore": [
18
- "**/.*",
19
- "node_modules",
20
- "bower_components",
21
- "test",
22
- "tests"
23
- ],
24
- "dependencies": {
25
- "bootstrap": ">= 3.0.0",
26
- "jquery": ">= 1.9.0"
27
- },
28
- "devDependencies": {},
29
- "_release": "1.0.2",
30
- "_resolution": {
31
- "type": "version",
32
- "tag": "1.0.2",
33
- "commit": "3e6c045537a45b595f2b0ca419d2fe819502cf77"
34
- },
35
- "_source": "git://github.com/jonmiles/bootstrap-treeview.git",
36
- "_target": "~1.0.1",
37
- "_originalSource": "bootstrap-treeview"
38
- }
@@ -1,62 +0,0 @@
1
- module.exports = function(grunt) {
2
- grunt.initConfig({
3
- pkg: grunt.file.readJSON('package.json'), // the package file to use
4
-
5
- uglify: {
6
- files: {
7
- expand: true,
8
- flatten: true,
9
- src: 'src/js/*.js',
10
- dest: 'dist',
11
- ext: '.min.js'
12
- }
13
- },
14
-
15
- cssmin: {
16
- minify: {
17
- expand: true,
18
- cwd: 'src/css',
19
- src: ['*.css', '!*.min.css'],
20
- dest: 'dist',
21
- ext: '.min.css'
22
- }
23
- },
24
-
25
- qunit: {
26
- all: ['tests/*.html']
27
- },
28
-
29
- watch: {
30
- files: ['tests/*.js', 'tests/*.html', 'src/**'],
31
- tasks: ['default']
32
- },
33
-
34
- copy: {
35
- main: {
36
- files: [
37
- // copy dist to tests
38
- // { expand: true, cwd: 'dist', src: '*', dest: 'tests/lib/' },
39
- { expand: true, cwd: 'src/css', src: '*', dest: 'tests/lib/' },
40
- { expand: true, cwd: 'src/js', src: '*', dest: 'tests/lib/' },
41
- // copy latest libs to tests
42
- { expand: true, cwd: 'public/bower_components/jquery', src: 'jquery.js', dest: 'tests/lib/' },
43
- { expand: true, cwd: 'public/bower_components/bootstrap-datepicker/js', src: 'bootstrap-datepicker.js', dest: 'tests/lib/' },
44
- // copy src to example
45
- { expand: true, cwd: 'src/css', src: '*', dest: 'public/css/' },
46
- { expand: true, cwd: 'src/js', src: '*', dest: 'public/js/' }
47
- ]
48
- }
49
- }
50
- });
51
-
52
- // load up your plugins
53
- grunt.loadNpmTasks('grunt-contrib-uglify');
54
- grunt.loadNpmTasks('grunt-contrib-cssmin');
55
- grunt.loadNpmTasks('grunt-contrib-qunit');
56
- grunt.loadNpmTasks('grunt-contrib-watch');
57
- grunt.loadNpmTasks('grunt-contrib-copy');
58
-
59
- // register one or more task lists (you should ALWAYS have a "default" task list)
60
- grunt.registerTask('default', ['uglify', 'copy', 'qunit']);
61
- grunt.registerTask('build', ['uglify', 'cssmin', 'copy', 'qunit']);
62
- };
@@ -1,202 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "{}"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright {yyyy} {name of copyright owner}
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
202
-
@@ -1,289 +0,0 @@
1
- # Bootstrap Tree View
2
-
3
- ---
4
-
5
- A simple and elegant solution to displaying hierarchical tree structures (i.e. a Tree View) while levering the best that Twitter Bootstrap has to offer.
6
-
7
- ![Bootstrap Tree View Default](https://raw.github.com/jondmiles/bootstrap-treeview/master/screenshot/default.PNG)
8
-
9
- <!--For full documentation and examples, please visit [Bootstrap Tree View Website](http://www.jondmiles.com/bootstrap-treeview/ "Click to visit Bootstrap Tree View")-->
10
-
11
- ## Requirements
12
-
13
-
14
- Where provided these are the actual versions bootstrap-treeview has been tested against. Other versions should work but you use them as your own risk.
15
-
16
- - [Bootstrap v3.0.3](http://getbootstrap.com/)
17
- - [jQuery v2.0.3](http://jquery.com/)
18
-
19
- Sorry no support planned for Bootstrap 2.
20
-
21
- ## Usage
22
-
23
- A full list of dependencies required for the bootstrap-treeview to function correctly.
24
-
25
- <!-- Required Stylesheets -->
26
- <link href="./css/bootstrap.css" rel="stylesheet">
27
-
28
- <!-- Required Javascript -->
29
- <script src="./js/jquery.js"></script>
30
- <script src="./js/bootstrap-treeview.js"></script>
31
-
32
-
33
- The component will bind to any existing DOM element.
34
-
35
- <div id="tree"></div>
36
-
37
-
38
- Basic usage may look something like this.
39
-
40
- function getTree() {
41
- // Some logic to retrieve, or generate tree structure
42
- return data;
43
- }
44
-
45
- $('#tree').treeview({data: getTree()});
46
-
47
-
48
-
49
- ## Data Structure
50
-
51
- In order to define the hierarchical structure needed for the tree it's necessary to provide a nested array of JavaScript objects.
52
-
53
- Example
54
-
55
- var tree = [
56
- {
57
- text: "Parent 1",
58
- nodes: [
59
- {
60
- text: "Child 1",
61
- nodes: [
62
- {
63
- text: "Grandchild 1"
64
- },
65
- {
66
- text: "Grandchild 2"
67
- }
68
- ]
69
- },
70
- {
71
- text: "Child 2"
72
- }
73
- ]
74
- },
75
- {
76
- text: "Parent 2"
77
- },
78
- {
79
- text: "Parent 3"
80
- },
81
- {
82
- text: "Parent 4"
83
- },
84
- {
85
- text: "Parent 5"
86
- }
87
- ];
88
-
89
- At the lowest level a tree node is a represented as a simple JavaScript object. Just one required property `text` will build you a tree.
90
-
91
- {
92
- text: "Node 1"
93
- }
94
-
95
- If you want to do more, here's the full node specification
96
-
97
- {
98
- text: "Node 1",
99
- icon: "glyphicon glyphicon-stop",
100
- color: "#000000",
101
- backColor: "#FFFFFF",
102
- href: "#node-1",
103
- tags: ['available'],
104
- nodes: [
105
- {},
106
- ...
107
- ]
108
- }
109
-
110
-
111
-
112
- ## Node Properties
113
-
114
- The following properties are defined to allow node level overrides, such as node specific icons, colours and tags.
115
-
116
- ### text
117
- String. Mandatory
118
-
119
- The text value displayed for a given tree node, typically to the right of the nodes icon.
120
-
121
- ### icon
122
- String. Optional
123
-
124
- The icon displayed on a given node, typically to the left of the text.
125
-
126
- For simplicity we directly leverage [Bootstraps Glyphicons support](http://getbootstrap.com/components/#glyphicons) and as such you should provide both the base class and individual icon class separated by a space.
127
-
128
- By providing the base class you retain full control over the icons used. If you want to use your own then just add your class to this icon field.
129
-
130
- ### color
131
- String. Optional
132
-
133
- The foreground color used on a given node, overrides global color option.
134
-
135
- ### backColor
136
- String. Optional
137
-
138
- The background color used on a given node, overrides global color option.
139
-
140
- ### href
141
- String. Optional
142
-
143
- Used in conjunction with global enableLinks option to specify anchor tag URL on a given node.
144
-
145
- ### selectable
146
- Boolean. Default: true
147
-
148
- Whether of not a node is selectable in the tree. False indicates the node should act as an expansion heading and will not fire selection events.
149
-
150
- ### tags
151
- Array of Strings. Optional
152
-
153
- Used in conjunction with global showTags option to add additional information to the right of each node; using [Bootstrap Badges](http://getbootstrap.com/components/#badges)
154
-
155
- ### Extendible
156
-
157
- You can extend the node object by adding any number of additional key value pairs that you require for your application. Remember this is the object which will be passed around during selection events.
158
-
159
-
160
-
161
- ## Options
162
-
163
- ### data
164
- Array of Objects. No default, expects data
165
-
166
- This is the core data to be displayed by the tree view.
167
-
168
- ### backColor
169
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: inherits from Bootstrap.css.
170
-
171
- Sets the default background color used by all nodes, except when overridden on a per node basis in data.
172
-
173
- ### borderColor
174
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: inherits from Bootstrap.css.
175
-
176
- Sets the border color for the component; set showBorder to false if you don't want a visible border.
177
-
178
- ### collapseIcon
179
- String, class name(s). Default: "glyphicon glyphicon-minus" as defined by [Bootstrap Glyphicons](http://getbootstrap.com/components/#glyphicons)
180
-
181
- Sets the icon to be used on a collapsible tree node.
182
-
183
- ### color
184
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: inherits from Bootstrap.css.
185
-
186
- Sets the default foreground color used by all nodes, except when overridden on a per node basis in data.
187
-
188
- ### emptyIcon
189
- String, class name(s). Default: "glyphicon" as defined by [Bootstrap Glyphicons](http://getbootstrap.com/components/#glyphicons)
190
-
191
- Sets the icon to be used on a tree node with no child nodes.
192
-
193
- ### enableLinks
194
- Boolean. Default: false
195
-
196
- Whether or not to present node text as a hyperlink. The href value of which must be provided in the data structure on a per node basis.
197
-
198
- ### expandIcon
199
- String, class name(s). Default: "glyphicon glyphicon-plus" as defined by [Bootstrap Glyphicons](http://getbootstrap.com/components/#glyphicons)
200
-
201
- Sets the icon to be used on an expandable tree node.
202
-
203
- ### highlightSelected
204
- Boolean. Default: true
205
-
206
- Whether or not to highlight the selected node.
207
-
208
- ### onhoverColor
209
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: '#F5F5F5'.
210
-
211
- Sets the default background color activated when the users cursor hovers over a node.
212
-
213
- ### levels
214
- Integer. Default: 2
215
-
216
- Sets the number of hierarchical levels deep the tree will be expanded to by default.
217
-
218
- ### nodeIcon
219
- String, class name(s). Default: "glyphicon glyphicon-stop" as defined by [Bootstrap Glyphicons](http://getbootstrap.com/components/#glyphicons)
220
-
221
- Sets the default icon to be used on all nodes, except when overridden on a per node basis in data.
222
-
223
- ### selectedColor
224
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: '#FFFFFF'.
225
-
226
- Sets the foreground color of the selected node.
227
-
228
- ### selectedBackColor
229
- String, [any legal color value](http://www.w3schools.com/cssref/css_colors_legal.asp). Default: '#FFFFFF'.
230
-
231
- Sets the background color of the selected node.
232
-
233
- ### showBorder
234
- Boolean. Default: true
235
-
236
- Whether or not to display a border around nodes.
237
-
238
- ### showTags
239
- Boolean. Default: false
240
-
241
- Whether or not to display tags to the right of each node. The values of which must be provided in the data structure on a per node basis.
242
-
243
-
244
-
245
- ## Methods
246
-
247
- ### remove
248
-
249
- Removes the tree view component. Removing attached events, internal attached objects, and added HTML elements.
250
-
251
- $('#tree').treeview('remove');
252
-
253
-
254
-
255
- ## Events
256
-
257
- ### nodeSelected
258
- Fired when a user selects a node. You can bind to it using either the callback handler or the standard jQuery .on method
259
-
260
- Example using options callback handler:
261
-
262
- var options = {
263
- onNodeSelected: function(event, node) {
264
- // Your logic goes here
265
- }
266
- }
267
- $('#tree').treeview(options);
268
-
269
- and using jQuery .on method
270
-
271
- $('#tree').on('nodeSelected', function(event, node) {
272
- // Your logic goes here
273
- });
274
-
275
-
276
-
277
-
278
- ## Copyright and Licensing
279
- Copyright 2013 Jonathan Miles
280
-
281
- Licensed under the Apache License, Version 2.0 (the "License");
282
- you may not use this file except in compliance with the License.
283
- You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>
284
-
285
- Unless required by applicable law or agreed to in writing, software
286
- distributed under the License is distributed on an "AS IS" BASIS,
287
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
288
- See the License for the specific language governing permissions and
289
- limitations under the License.