compass-jquery-plugin 0.3.2.3 → 0.3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +54 -37
- data/VERSION.yml +1 -1
- data/lib/handle_attributes.rb +4 -4
- data/lib/handle_js_files.rb +5 -5
- data/lib/jqtouch_theme.rb +2 -2
- data/lib/jquery/dynatree.rb +2 -2
- data/lib/jquery/emulators.rb +1 -1
- data/lib/jquery/flash_messages.rb +6 -6
- data/lib/jquery/graphics.rb +5 -0
- data/lib/jquery/gridify/assertions.rb +1 -1
- data/lib/jquery/gridify/grid.rb +76 -59
- data/lib/jquery/gridify/grid_column.rb +73 -67
- data/lib/jquery/gridify/grid_finder.rb +79 -79
- data/lib/jquery/gridify/grid_options.rb +154 -149
- data/lib/jquery/gridify/grid_view.rb +143 -143
- data/lib/jquery/gridify.rb +25 -25
- data/lib/jquery/ical/calendar.rb +2 -2
- data/lib/jquery/ical/event.rb +48 -44
- data/lib/jquery/ical/helpers/ui_event_helper.rb +3 -3
- data/lib/jquery/jqgrid/jqgrid.rb +58 -58
- data/lib/jquery/jqgrid.rb +1 -1
- data/lib/jquery/jqtouch.rb +1 -1
- data/lib/jquery/jquery.rb +117 -117
- data/lib/jquery/jquery_auto_complete.rb +9 -9
- data/lib/jquery/jquery_json_response.rb +12 -12
- data/lib/jquery/jquery_selector_assertions.rb +55 -53
- data/lib/jquery/jstree.rb +2 -2
- data/lib/jquery/mobile.rb +1 -1
- data/lib/jquery/ribbon.rb +2 -2
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +5 -5
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +5 -5
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +1 -1
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +39 -39
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +74 -74
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +21 -21
- data/lib/jquery/secret_sauce.rb +1 -1
- data/lib/jquery/tools.rb +1 -1
- data/lib/jquery_mobile_theme.rb +2 -2
- data/lib/jquery_ui_theme.rb +12 -12
- data/templates/dynatree/config/initializers/dynatree.rb +3 -3
- data/templates/dynatree/jquery/dynatree/aero.scss +16 -16
- data/templates/dynatree/jquery/dynatree/aqua.scss +16 -16
- data/templates/dynatree/jquery/dynatree/crystal.scss +16 -16
- data/templates/dynatree/jquery/dynatree/xp.scss +17 -17
- data/templates/dynatree/jquery.dynatree.js +2926 -2912
- data/templates/emulators/config/initializers/emulators.rb +6 -6
- data/templates/graphics/config/initializers/graphics.rb +5 -0
- data/templates/graphics/jquery/ganttView.scss +89 -0
- data/templates/graphics/jquery.ganttView.js +1669 -0
- data/templates/graphics/jquery.ganttView.min.js +70 -0
- data/templates/{jquery → graphics}/jquery.sparkline.js +466 -438
- data/templates/{jquery → graphics}/jquery.sparkline.min.js +0 -0
- data/templates/graphics/manifest.rb +9 -0
- data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +137 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +138 -132
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +19 -16
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +8 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +139 -136
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +4 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +14 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +130 -124
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +144 -138
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +132 -126
- data/templates/jqgrid/jquery.jqGrid.js +12735 -10444
- data/templates/jqgrid/jquery.jqGrid.min.js +477 -469
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +12 -10
- data/templates/jqtouch/config/initializers/jqtouch.rb +3 -3
- data/templates/jqtouch/jquery/touch/jqtouch.scss +1 -1
- data/templates/jqtouch/jquery.jqtouch.js +10025 -10043
- data/templates/jquery/config/initializers/jquery.rb +2 -4
- data/templates/jquery/history.adapter.jquery.js +71 -0
- data/templates/jquery/history.adapter.jquery.min.js +4 -0
- data/templates/jquery/history.html4.js +690 -0
- data/templates/jquery/history.html4.min.js +21 -0
- data/templates/jquery/history.js +1297 -0
- data/templates/jquery/history.min.js +29 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +8 -8
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +15 -15
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +22 -22
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +16 -16
- data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/{partials → jquery/ui}/_flash_messages.scss +0 -0
- data/templates/jquery/jquery/ui/_theme.scss +14 -13
- data/templates/jquery/jquery/ui/contextMenu/configure.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/cut.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/exit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/paste.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/rename.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/show.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/trash.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu.scss +16 -10
- data/templates/jquery/jquery-ui.js +11839 -23066
- data/templates/jquery/jquery-ui.min.js +401 -795
- data/templates/jquery/jquery.bgiframe.js +27 -25
- data/templates/jquery/jquery.contextMenu.js +209 -196
- data/templates/jquery/jquery.cookie.js +3 -1
- data/templates/jquery/jquery.dotimeout.js +236 -228
- data/templates/jquery/jquery.dst.js +154 -151
- data/templates/jquery/jquery.farbtastic.js +293 -293
- data/templates/jquery/jquery.flashMessages.js +26 -0
- data/templates/jquery/jquery.flashMessages.min.js +1 -0
- data/templates/jquery/jquery.form.js +803 -786
- data/templates/jquery/jquery.haml.js +248 -247
- data/templates/jquery/jquery.hotkeys.js +89 -89
- data/templates/jquery/jquery.js +8141 -8106
- data/templates/jquery/jquery.layout.js +2451 -2415
- data/templates/jquery/jquery.min.js +167 -166
- data/templates/jquery/jquery.mousewheel.js +62 -54
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +76 -76
- data/templates/jquery/jquery.replacetext.js +83 -83
- data/templates/jquery/jquery.themeswitchertool.js +202 -177
- data/templates/jquery/jquery.tmpl.js +478 -473
- data/templates/jquery/jquery.tmplPlus.js +82 -81
- data/templates/jquery/jrails.js +178 -175
- data/templates/jquery/json.js +77 -7
- data/templates/jquery/json2.js +480 -0
- data/templates/jquery/json2.min.js +7 -0
- data/templates/jquery/lib/tasks/haml.rake +2 -2
- data/templates/jquery/manifest.rb +21 -17
- data/templates/jstree/jquery.jstree.js +5967 -4536
- data/templates/mobile/config/initializers/mobile.rb +1 -1
- data/templates/mobile/jquery/mobile/_base.scss +944 -927
- data/templates/mobile/jquery/mobile/default.scss +61 -48
- data/templates/mobile/jquery/mobile/valencia.scss +56 -42
- data/templates/mobile/jquery.mobile.js +4461 -4347
- data/templates/mobile/jquery.mobile.min.js +11 -2
- data/templates/mobile/lib/tasks/jquery.mobile.rake +12 -12
- data/templates/ribbon/config/initializers/ribbon.rb +2 -2
- data/templates/ribbon/jquery.ribbon.js +50 -29
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +945 -1
- data/templates/tools/jquery.tools.js +4645 -4335
- data/templates/tools/jquery.tools.min.js +37 -37
- data/templates/tools/lib/tasks/jquery.tools.rake +4 -4
- data/templates/tools/swfobject.js +813 -773
- metadata +33 -21
- data/templates/jquery/haml.js +0 -506
- data/templates/jquery/haml.min.js +0 -5
- data/templates/jquery/jquery/ui/contextMenu/door.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_paste.png +0 -0
- data/templates/jquery/jquery.compat-1.3.js +0 -291
- data/templates/jquery/jquery.compat-1.3.min.js +0 -6
- data/templates/jquery/jquery.flash_messages.js +0 -5
- data/templates/jquery/jquery.flash_messages.min.js +0 -1
- data/templates/jquery/jquery.history.js +0 -194
- data/templates/jquery/jquery.history.min.js +0 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-jquery-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 87
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
version: 0.3.2.
|
10
|
+
- 4
|
11
|
+
version: 0.3.2.4
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Kosmas Schuetz
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-02-
|
19
|
+
date: 2011-02-23 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- lib/jquery/dynatree.rb
|
100
100
|
- lib/jquery/emulators.rb
|
101
101
|
- lib/jquery/flash_messages.rb
|
102
|
+
- lib/jquery/graphics.rb
|
102
103
|
- lib/jquery/gridify/assertions.rb
|
103
104
|
- lib/jquery/gridify/grid.rb
|
104
105
|
- lib/jquery/gridify/grid_column.rb
|
@@ -166,6 +167,13 @@ files:
|
|
166
167
|
- templates/emulators/emulators/palm.pre.landscape.png
|
167
168
|
- templates/emulators/emulators/palm.pre.portrait.png
|
168
169
|
- templates/emulators/manifest.rb
|
170
|
+
- templates/graphics/config/initializers/graphics.rb
|
171
|
+
- templates/graphics/jquery/ganttView.scss
|
172
|
+
- templates/graphics/jquery.ganttView.js
|
173
|
+
- templates/graphics/jquery.ganttView.min.js
|
174
|
+
- templates/graphics/jquery.sparkline.js
|
175
|
+
- templates/graphics/jquery.sparkline.min.js
|
176
|
+
- templates/graphics/manifest.rb
|
169
177
|
- templates/ical/app/views/shared/_ui_event_for.js.haml
|
170
178
|
- templates/ical/config/initializers/ical.rb
|
171
179
|
- templates/ical/jquery/ical/calendar.png
|
@@ -329,8 +337,12 @@ files:
|
|
329
337
|
- templates/jqtouch/jquery.jqtouch.min.js
|
330
338
|
- templates/jqtouch/manifest.rb
|
331
339
|
- templates/jquery/config/initializers/jquery.rb
|
332
|
-
- templates/jquery/
|
333
|
-
- templates/jquery/
|
340
|
+
- templates/jquery/history.adapter.jquery.js
|
341
|
+
- templates/jquery/history.adapter.jquery.min.js
|
342
|
+
- templates/jquery/history.html4.js
|
343
|
+
- templates/jquery/history.html4.min.js
|
344
|
+
- templates/jquery/history.js
|
345
|
+
- templates/jquery/history.min.js
|
334
346
|
- templates/jquery/i18n/jquery.ui/datepicker-af.js
|
335
347
|
- templates/jquery/i18n/jquery.ui/datepicker-af.min.js
|
336
348
|
- templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js
|
@@ -497,13 +509,17 @@ files:
|
|
497
509
|
- templates/jquery/jquery/ui/blitzer/ui-icons_cc0000_256x240.png
|
498
510
|
- templates/jquery/jquery/ui/blitzer/ui-icons_ffffff_256x240.png
|
499
511
|
- templates/jquery/jquery/ui/blitzer.scss
|
512
|
+
- templates/jquery/jquery/ui/contextMenu/configure.png
|
513
|
+
- templates/jquery/jquery/ui/contextMenu/copy.png
|
500
514
|
- templates/jquery/jquery/ui/contextMenu/cut.png
|
501
|
-
- templates/jquery/jquery/ui/contextMenu/
|
502
|
-
- templates/jquery/jquery/ui/contextMenu/
|
503
|
-
- templates/jquery/jquery/ui/contextMenu/
|
504
|
-
- templates/jquery/jquery/ui/contextMenu/
|
505
|
-
- templates/jquery/jquery/ui/contextMenu/
|
506
|
-
- templates/jquery/jquery/ui/contextMenu/
|
515
|
+
- templates/jquery/jquery/ui/contextMenu/delete.png
|
516
|
+
- templates/jquery/jquery/ui/contextMenu/edit.png
|
517
|
+
- templates/jquery/jquery/ui/contextMenu/exit.png
|
518
|
+
- templates/jquery/jquery/ui/contextMenu/new.png
|
519
|
+
- templates/jquery/jquery/ui/contextMenu/paste.png
|
520
|
+
- templates/jquery/jquery/ui/contextMenu/rename.png
|
521
|
+
- templates/jquery/jquery/ui/contextMenu/show.png
|
522
|
+
- templates/jquery/jquery/ui/contextMenu/trash.png
|
507
523
|
- templates/jquery/jquery/ui/contextMenu.scss
|
508
524
|
- templates/jquery/jquery/ui/cupertino/ui-anim_basic_16x16.gif
|
509
525
|
- templates/jquery/jquery/ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png
|
@@ -901,13 +917,12 @@ files:
|
|
901
917
|
- templates/jquery/jquery/ui/vader/ui-icons_cd0a0a_256x240.png
|
902
918
|
- templates/jquery/jquery/ui/vader/ui-icons_f29a00_256x240.png
|
903
919
|
- templates/jquery/jquery/ui/vader.scss
|
920
|
+
- templates/jquery/jquery/ui/_flash_messages.scss
|
904
921
|
- templates/jquery/jquery/ui/_theme.scss
|
905
922
|
- templates/jquery/jquery-ui.js
|
906
923
|
- templates/jquery/jquery-ui.min.js
|
907
924
|
- templates/jquery/jquery.bgiframe.js
|
908
925
|
- templates/jquery/jquery.bgiframe.min.js
|
909
|
-
- templates/jquery/jquery.compat-1.3.js
|
910
|
-
- templates/jquery/jquery.compat-1.3.min.js
|
911
926
|
- templates/jquery/jquery.contextMenu.js
|
912
927
|
- templates/jquery/jquery.contextMenu.min.js
|
913
928
|
- templates/jquery/jquery.cookie.js
|
@@ -918,14 +933,12 @@ files:
|
|
918
933
|
- templates/jquery/jquery.dst.min.js
|
919
934
|
- templates/jquery/jquery.farbtastic.js
|
920
935
|
- templates/jquery/jquery.farbtastic.min.js
|
921
|
-
- templates/jquery/jquery.
|
922
|
-
- templates/jquery/jquery.
|
936
|
+
- templates/jquery/jquery.flashMessages.js
|
937
|
+
- templates/jquery/jquery.flashMessages.min.js
|
923
938
|
- templates/jquery/jquery.form.js
|
924
939
|
- templates/jquery/jquery.form.min.js
|
925
940
|
- templates/jquery/jquery.haml.js
|
926
941
|
- templates/jquery/jquery.haml.min.js
|
927
|
-
- templates/jquery/jquery.history.js
|
928
|
-
- templates/jquery/jquery.history.min.js
|
929
942
|
- templates/jquery/jquery.hotkeys.js
|
930
943
|
- templates/jquery/jquery.hotkeys.min.js
|
931
944
|
- templates/jquery/jquery.js
|
@@ -940,8 +953,6 @@ files:
|
|
940
953
|
- templates/jquery/jquery.pngFix.min.js
|
941
954
|
- templates/jquery/jquery.replacetext.js
|
942
955
|
- templates/jquery/jquery.replacetext.min.js
|
943
|
-
- templates/jquery/jquery.sparkline.js
|
944
|
-
- templates/jquery/jquery.sparkline.min.js
|
945
956
|
- templates/jquery/jquery.themeswitchertool.js
|
946
957
|
- templates/jquery/jquery.themeswitchertool.min.js
|
947
958
|
- templates/jquery/jquery.tmpl.js
|
@@ -952,9 +963,10 @@ files:
|
|
952
963
|
- templates/jquery/jrails.min.js
|
953
964
|
- templates/jquery/json.js
|
954
965
|
- templates/jquery/json.min.js
|
966
|
+
- templates/jquery/json2.js
|
967
|
+
- templates/jquery/json2.min.js
|
955
968
|
- templates/jquery/lib/tasks/haml.rake
|
956
969
|
- templates/jquery/manifest.rb
|
957
|
-
- templates/jquery/partials/_flash_messages.scss
|
958
970
|
- templates/jstree/config/initializers/jstree.rb
|
959
971
|
- templates/jstree/jquery/jstree/aero/clicked.png
|
960
972
|
- templates/jstree/jquery/jstree/aero/d.gif
|
data/templates/jquery/haml.js
DELETED
@@ -1,506 +0,0 @@
|
|
1
|
-
var Haml;
|
2
|
-
|
3
|
-
(function () {
|
4
|
-
|
5
|
-
var matchers, self_close_tags, embedder, forceXML;
|
6
|
-
|
7
|
-
function html_escape(text) {
|
8
|
-
return (text + "").
|
9
|
-
replace(/&/g, "&").
|
10
|
-
replace(/</g, "<").
|
11
|
-
replace(/>/g, ">").
|
12
|
-
replace(/\"/g, """);
|
13
|
-
}
|
14
|
-
|
15
|
-
function render_attribs(attribs) {
|
16
|
-
var key, value, result = [];
|
17
|
-
for (key in attribs) {
|
18
|
-
if (key !== '_content' && attribs.hasOwnProperty(key)) {
|
19
|
-
switch (attribs[key]) {
|
20
|
-
case 'undefined':
|
21
|
-
case 'false':
|
22
|
-
case 'null':
|
23
|
-
case '""':
|
24
|
-
break;
|
25
|
-
default:
|
26
|
-
try {
|
27
|
-
value = JSON.parse("[" + attribs[key] +"]")[0];
|
28
|
-
if (value === true) {
|
29
|
-
value = key;
|
30
|
-
} else if (typeof value === 'string' && embedder.test(value)) {
|
31
|
-
value = '" +\n' + parse_interpol(html_escape(value)) + ' +\n"';
|
32
|
-
} else {
|
33
|
-
value = html_escape(value);
|
34
|
-
}
|
35
|
-
result.push(" " + key + '=\\"' + value + '\\"');
|
36
|
-
} catch (e) {
|
37
|
-
result.push(" " + key + '=\\"" + html_escape(' + attribs[key] + ') + "\\"');
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
return result.join("");
|
43
|
-
}
|
44
|
-
|
45
|
-
// Parse the attribute block using a state machine
|
46
|
-
function parse_attribs(line) {
|
47
|
-
var attributes = {},
|
48
|
-
l = line.length,
|
49
|
-
i, c,
|
50
|
-
count = 1,
|
51
|
-
quote = false,
|
52
|
-
skip = false,
|
53
|
-
open, close, joiner, seperator,
|
54
|
-
pair = {
|
55
|
-
start: 1,
|
56
|
-
middle: null,
|
57
|
-
end: null
|
58
|
-
};
|
59
|
-
|
60
|
-
if (!(l > 0 && (line.charAt(0) === '{' || line.charAt(0) === '('))) {
|
61
|
-
return {
|
62
|
-
_content: line[0] === ' ' ? line.substr(1, l) : line
|
63
|
-
};
|
64
|
-
}
|
65
|
-
open = line.charAt(0);
|
66
|
-
close = (open === '{') ? '}' : ')';
|
67
|
-
joiner = (open === '{') ? ':' : '=';
|
68
|
-
seperator = (open === '{') ? ',' : ' ';
|
69
|
-
|
70
|
-
function process_pair() {
|
71
|
-
if (typeof pair.start === 'number' &&
|
72
|
-
typeof pair.middle === 'number' &&
|
73
|
-
typeof pair.end === 'number') {
|
74
|
-
var key = line.substr(pair.start, pair.middle - pair.start).trim(),
|
75
|
-
value = line.substr(pair.middle + 1, pair.end - pair.middle - 1).trim();
|
76
|
-
attributes[key] = value;
|
77
|
-
}
|
78
|
-
pair = {
|
79
|
-
start: null,
|
80
|
-
middle: null,
|
81
|
-
end: null
|
82
|
-
};
|
83
|
-
}
|
84
|
-
|
85
|
-
for (i = 1; count > 0; i += 1) {
|
86
|
-
|
87
|
-
// If we reach the end of the line, then there is a problem
|
88
|
-
if (i > l) {
|
89
|
-
throw "Malformed attribute block";
|
90
|
-
}
|
91
|
-
|
92
|
-
c = line.charAt(i);
|
93
|
-
if (skip) {
|
94
|
-
skip = false;
|
95
|
-
} else {
|
96
|
-
if (quote) {
|
97
|
-
if (c === '\\') {
|
98
|
-
skip = true;
|
99
|
-
}
|
100
|
-
if (c === quote) {
|
101
|
-
quote = false;
|
102
|
-
}
|
103
|
-
} else {
|
104
|
-
if (c === '"' || c === "'") {
|
105
|
-
quote = c;
|
106
|
-
}
|
107
|
-
|
108
|
-
if (count === 1) {
|
109
|
-
if (c === joiner) {
|
110
|
-
pair.middle = i;
|
111
|
-
}
|
112
|
-
if (c === seperator || c === close) {
|
113
|
-
pair.end = i;
|
114
|
-
process_pair();
|
115
|
-
if (c === seperator) {
|
116
|
-
pair.start = i + 1;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
if (c === open || c === "(") {
|
122
|
-
count += 1;
|
123
|
-
}
|
124
|
-
if (c === close || (count > 1 && c === ")")) {
|
125
|
-
count -= 1;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
}
|
130
|
-
attributes._content = line.substr(i, line.length);
|
131
|
-
return attributes;
|
132
|
-
}
|
133
|
-
|
134
|
-
// Split interpolated strings into an array of literals and code fragments.
|
135
|
-
function parse_interpol(value) {
|
136
|
-
var items = [],
|
137
|
-
pos = 0,
|
138
|
-
next = 0,
|
139
|
-
match;
|
140
|
-
while (true) {
|
141
|
-
// Match up to embedded string
|
142
|
-
next = value.substr(pos).search(embedder);
|
143
|
-
if (next < 0) {
|
144
|
-
if (pos < value.length) {
|
145
|
-
items.push(JSON.stringify(value.substr(pos)));
|
146
|
-
}
|
147
|
-
break;
|
148
|
-
}
|
149
|
-
items.push(JSON.stringify(value.substr(pos, next)));
|
150
|
-
pos += next;
|
151
|
-
|
152
|
-
// Match embedded string
|
153
|
-
match = value.substr(pos).match(embedder);
|
154
|
-
next = match[0].length;
|
155
|
-
if (next < 0) { break; }
|
156
|
-
items.push(match[1] || match[2]);
|
157
|
-
pos += next;
|
158
|
-
}
|
159
|
-
return items.filter(function (part) { return part && part.length > 0}).join(" +\n");
|
160
|
-
}
|
161
|
-
|
162
|
-
// Used to find embedded code in interpolated strings.
|
163
|
-
embedder = /\#\{([^}]*)\}/;
|
164
|
-
|
165
|
-
self_close_tags = ["meta", "img", "link", "br", "hr", "input", "area", "base"];
|
166
|
-
|
167
|
-
// All matchers' regexps should capture leading whitespace in first capture
|
168
|
-
// and trailing content in last capture
|
169
|
-
matchers = [
|
170
|
-
// html tags
|
171
|
-
{
|
172
|
-
regexp: /^(\s*)((?:[.#%][a-z_\-][a-z0-9_:\-]*)+)(.*)$/i,
|
173
|
-
process: function () {
|
174
|
-
var tag, classes, ids, attribs, content;
|
175
|
-
tag = this.matches[2];
|
176
|
-
classes = tag.match(/\.([a-z_\-][a-z0-9_\-]*)/gi);
|
177
|
-
ids = tag.match(/\#([a-z_\-][a-z0-9_\-]*)/gi);
|
178
|
-
tag = tag.match(/\%([a-z_\-][a-z0-9_:\-]*)/gi);
|
179
|
-
|
180
|
-
// Default to <div> tag
|
181
|
-
tag = tag ? tag[0].substr(1, tag[0].length) : 'div';
|
182
|
-
|
183
|
-
attribs = this.matches[3];
|
184
|
-
if (attribs) {
|
185
|
-
attribs = parse_attribs(attribs);
|
186
|
-
if (attribs._content) {
|
187
|
-
this.contents.unshift(attribs._content.trim());
|
188
|
-
delete(attribs._content);
|
189
|
-
}
|
190
|
-
} else {
|
191
|
-
attribs = {};
|
192
|
-
}
|
193
|
-
|
194
|
-
if (classes) {
|
195
|
-
classes = classes.map(function (klass) {
|
196
|
-
return klass.substr(1, klass.length);
|
197
|
-
}).join(' ');
|
198
|
-
if (attribs['class']) {
|
199
|
-
try {
|
200
|
-
attribs['class'] = JSON.stringify(classes + " " + JSON.parse(attribs['class']));
|
201
|
-
} catch (e) {
|
202
|
-
attribs['class'] = JSON.stringify(classes + " ") + " + " + attribs['class'];
|
203
|
-
}
|
204
|
-
} else {
|
205
|
-
attribs['class'] = JSON.stringify(classes);
|
206
|
-
}
|
207
|
-
}
|
208
|
-
if (ids) {
|
209
|
-
ids = ids.map(function (id) {
|
210
|
-
return id.substr(1, id.length);
|
211
|
-
}).join(' ');
|
212
|
-
if (attribs.id) {
|
213
|
-
attribs.id = JSON.stringify(ids + " ") + attribs.id;
|
214
|
-
} else {
|
215
|
-
attribs.id = JSON.stringify(ids);
|
216
|
-
}
|
217
|
-
}
|
218
|
-
|
219
|
-
attribs = render_attribs(attribs);
|
220
|
-
|
221
|
-
content = this.render_contents();
|
222
|
-
if (content === '""') {
|
223
|
-
content = '';
|
224
|
-
}
|
225
|
-
|
226
|
-
if (forceXML ? content.length > 0 : self_close_tags.indexOf(tag) == -1) {
|
227
|
-
return '"<' + tag + attribs + '>"' +
|
228
|
-
(content.length > 0 ? ' + \n' + content : "") +
|
229
|
-
' + \n"</' + tag + '>"';
|
230
|
-
} else {
|
231
|
-
return '"<' + tag + attribs + ' />"';
|
232
|
-
}
|
233
|
-
}
|
234
|
-
},
|
235
|
-
|
236
|
-
// each loops
|
237
|
-
{
|
238
|
-
regexp: /^(\s*)(?::for|:each)\s+(?:([a-z_][a-z_\-]*),\s*)?([a-z_][a-z_\-]*)\s+in\s+(.*)(\s*)$/i,
|
239
|
-
process: function () {
|
240
|
-
var ivar = this.matches[2] || '__key__', // index
|
241
|
-
vvar = this.matches[3], // value
|
242
|
-
avar = this.matches[4], // array
|
243
|
-
rvar = '__result__'; // results
|
244
|
-
|
245
|
-
if (this.matches[5]) {
|
246
|
-
this.contents.unshift(this.matches[5]);
|
247
|
-
}
|
248
|
-
return '(function () { ' +
|
249
|
-
'var ' + rvar + ' = [], ' + ivar + ', ' + vvar + '; ' +
|
250
|
-
'for (' + ivar + ' in ' + avar + ') { ' +
|
251
|
-
'if (' + avar + '.hasOwnProperty(' + ivar + ')) { ' +
|
252
|
-
vvar + ' = ' + avar + '[' + ivar + ']; ' +
|
253
|
-
rvar + '.push(\n' + (this.render_contents() || "''") + '\n); ' +
|
254
|
-
'} } return ' + rvar + '.join(""); }).call(this)';
|
255
|
-
}
|
256
|
-
},
|
257
|
-
|
258
|
-
// if statements
|
259
|
-
{
|
260
|
-
regexp: /^(\s*):if\s+(.*)\s*$/i,
|
261
|
-
process: function () {
|
262
|
-
var condition = this.matches[2];
|
263
|
-
return '(function () { ' +
|
264
|
-
'if (' + condition + ') { ' +
|
265
|
-
'return (\n' + (this.render_contents() || '') + '\n);' +
|
266
|
-
'} else { return ""; } }).call(this)';
|
267
|
-
}
|
268
|
-
},
|
269
|
-
|
270
|
-
// declarations
|
271
|
-
{
|
272
|
-
regexp: /^()!!!(?:\s*(.*))\s*$/,
|
273
|
-
process: function () {
|
274
|
-
var line = '';
|
275
|
-
switch ((this.matches[2] || '').toLowerCase()) {
|
276
|
-
case '':
|
277
|
-
// XHTML 1.0 Transitional
|
278
|
-
line = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
279
|
-
break;
|
280
|
-
case 'strict':
|
281
|
-
case '1.0':
|
282
|
-
// XHTML 1.0 Strict
|
283
|
-
line = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
|
284
|
-
break;
|
285
|
-
case 'frameset':
|
286
|
-
// XHTML 1.0 Frameset
|
287
|
-
line = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">';
|
288
|
-
break;
|
289
|
-
case '5':
|
290
|
-
// XHTML 5
|
291
|
-
line = '<!DOCTYPE html>';
|
292
|
-
break;
|
293
|
-
case '1.1':
|
294
|
-
// XHTML 1.1
|
295
|
-
line = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
|
296
|
-
break;
|
297
|
-
case 'basic':
|
298
|
-
// XHTML Basic 1.1
|
299
|
-
line = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">';
|
300
|
-
break;
|
301
|
-
case 'mobile':
|
302
|
-
// XHTML Mobile 1.2
|
303
|
-
line = '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">';
|
304
|
-
break;
|
305
|
-
case 'xml':
|
306
|
-
// XML
|
307
|
-
line = "<?xml version='1.0' encoding='utf-8' ?>";
|
308
|
-
break;
|
309
|
-
case 'xml iso-8859-1':
|
310
|
-
// XML iso-8859-1
|
311
|
-
line = "<?xml version='1.0' encoding='iso-8859-1' ?>";
|
312
|
-
break;
|
313
|
-
}
|
314
|
-
return JSON.stringify(line + "\n");
|
315
|
-
}
|
316
|
-
},
|
317
|
-
|
318
|
-
// Embedded markdown. Needs to be added to exports externally.
|
319
|
-
{
|
320
|
-
regexp: /^(\s*):markdown\s*$/i,
|
321
|
-
process: function () {
|
322
|
-
return parse_interpol(exports.Markdown.encode(this.contents.join("\n")));
|
323
|
-
}
|
324
|
-
},
|
325
|
-
|
326
|
-
// script blocks
|
327
|
-
{
|
328
|
-
regexp: /^(\s*):(?:java)?script\s*$/,
|
329
|
-
process: function () {
|
330
|
-
return parse_interpol('\n<script type="text/javascript">\n' +
|
331
|
-
'//<![CDATA[\n' +
|
332
|
-
this.contents.join("\n") +
|
333
|
-
"\n//]]>\n</script>\n");
|
334
|
-
}
|
335
|
-
},
|
336
|
-
|
337
|
-
// css blocks
|
338
|
-
{
|
339
|
-
regexp: /^(\s*):css\s*$/,
|
340
|
-
process: function () {
|
341
|
-
return JSON.stringify('\n<style type="text/css">\n' +
|
342
|
-
this.contents.join("\n") +
|
343
|
-
"\n</style>\n");
|
344
|
-
}
|
345
|
-
},
|
346
|
-
|
347
|
-
];
|
348
|
-
|
349
|
-
function compile(lines) {
|
350
|
-
var block = false,
|
351
|
-
output = [];
|
352
|
-
|
353
|
-
// If lines is a string, turn it into an array
|
354
|
-
if (typeof lines === 'string') {
|
355
|
-
lines = lines.trim().replace(/\n\r|\r/g, '\n').split('\n');
|
356
|
-
}
|
357
|
-
|
358
|
-
lines.forEach(function(line) {
|
359
|
-
var match, found = false;
|
360
|
-
|
361
|
-
// Collect all text as raw until outdent
|
362
|
-
if (block) {
|
363
|
-
match = block.check_indent.exec(line);
|
364
|
-
if (match) {
|
365
|
-
block.contents.push(match[1] || "");
|
366
|
-
return;
|
367
|
-
} else {
|
368
|
-
output.push(block.process());
|
369
|
-
block = false;
|
370
|
-
}
|
371
|
-
}
|
372
|
-
|
373
|
-
matchers.forEach(function (matcher) {
|
374
|
-
if (!found) {
|
375
|
-
match = matcher.regexp.exec(line);
|
376
|
-
if (match) {
|
377
|
-
block = {
|
378
|
-
contents: [],
|
379
|
-
matches: match,
|
380
|
-
check_indent: new RegExp("^(?:\\s*|" + match[1] + " (.*))$"),
|
381
|
-
process: matcher.process,
|
382
|
-
render_contents: function () {
|
383
|
-
return compile(this. contents);
|
384
|
-
}
|
385
|
-
};
|
386
|
-
found = true;
|
387
|
-
}
|
388
|
-
}
|
389
|
-
});
|
390
|
-
|
391
|
-
// Match plain text
|
392
|
-
if (!found) {
|
393
|
-
output.push(function () {
|
394
|
-
// Escaped plain text
|
395
|
-
if (line[0] === '\\') {
|
396
|
-
return parse_interpol(line.substr(1, line.length));
|
397
|
-
}
|
398
|
-
|
399
|
-
// Plain variable data
|
400
|
-
if (line[0] === '=') {
|
401
|
-
line = line.substr(1, line.length).trim();
|
402
|
-
try {
|
403
|
-
return parse_interpol(JSON.parse(line));
|
404
|
-
} catch (e) {
|
405
|
-
return line;
|
406
|
-
}
|
407
|
-
}
|
408
|
-
|
409
|
-
// HTML escape variable data
|
410
|
-
if (line.substr(0, 2) === "&=") {
|
411
|
-
line = line.substr(2, line.length).trim();
|
412
|
-
try {
|
413
|
-
return JSON.stringify(html_escape(JSON.parse(line)));
|
414
|
-
} catch (e2) {
|
415
|
-
return 'html_escape(' + line + ')';
|
416
|
-
}
|
417
|
-
}
|
418
|
-
|
419
|
-
// Plain text
|
420
|
-
return parse_interpol(line);
|
421
|
-
}());
|
422
|
-
}
|
423
|
-
|
424
|
-
});
|
425
|
-
if (block) {
|
426
|
-
output.push(block.process());
|
427
|
-
}
|
428
|
-
return output.filter(function (part) { return part && part.length > 0}).join(" +\n");
|
429
|
-
};
|
430
|
-
|
431
|
-
function optimize(js) {
|
432
|
-
var new_js = [], buffer = [], part, end;
|
433
|
-
|
434
|
-
function flush() {
|
435
|
-
if (buffer.length > 0) {
|
436
|
-
new_js.push(JSON.stringify(buffer.join("")) + end);
|
437
|
-
buffer = [];
|
438
|
-
}
|
439
|
-
}
|
440
|
-
js.replace(/\n\r|\r/g, '\n').split('\n').forEach(function (line) {
|
441
|
-
part = line.match(/^(\".*\")(\s*\+\s*)?$/);
|
442
|
-
if (!part) {
|
443
|
-
flush();
|
444
|
-
new_js.push(line);
|
445
|
-
return;
|
446
|
-
}
|
447
|
-
end = part[2] || "";
|
448
|
-
part = part[1];
|
449
|
-
try {
|
450
|
-
buffer.push(JSON.parse(part));
|
451
|
-
} catch (e) {
|
452
|
-
flush();
|
453
|
-
new_js.push(line);
|
454
|
-
}
|
455
|
-
});
|
456
|
-
flush();
|
457
|
-
return new_js.join("\n");
|
458
|
-
};
|
459
|
-
|
460
|
-
function render(text, options) {
|
461
|
-
options = options || {};
|
462
|
-
text = text || "";
|
463
|
-
var js = compile(text);
|
464
|
-
if (options.optimize) {
|
465
|
-
js = Haml.optimize(js);
|
466
|
-
}
|
467
|
-
return execute(js, options.context || Haml, options.locals);
|
468
|
-
};
|
469
|
-
|
470
|
-
function execute(js, self, locals) {
|
471
|
-
return (function () {
|
472
|
-
with(locals || {}) {
|
473
|
-
try {
|
474
|
-
return eval("(" + js + ")");
|
475
|
-
} catch (e) {
|
476
|
-
return "\n<pre class='error'>" + html_escape(e.stack) + "</pre>\n";
|
477
|
-
}
|
478
|
-
|
479
|
-
}
|
480
|
-
}).call(self);
|
481
|
-
};
|
482
|
-
|
483
|
-
Haml = function Haml(haml, xml) {
|
484
|
-
forceXML = xml;
|
485
|
-
var js = optimize(compile(haml));
|
486
|
-
return new Function("locals",
|
487
|
-
html_escape + "\n" +
|
488
|
-
"with(locals || {}) {\n" +
|
489
|
-
" try {\n" +
|
490
|
-
" return (" + js + ");\n" +
|
491
|
-
" } catch (e) {\n" +
|
492
|
-
" return \"\\n<pre class='error'>\" + html_escape(e.stack) + \"</pre>\\n\";\n" +
|
493
|
-
" }\n" +
|
494
|
-
"}");
|
495
|
-
}
|
496
|
-
Haml.compile = compile;
|
497
|
-
Haml.optimize = optimize;
|
498
|
-
Haml.render = render;
|
499
|
-
Haml.execute = execute;
|
500
|
-
|
501
|
-
}());
|
502
|
-
|
503
|
-
// Hook into module system
|
504
|
-
if (typeof module !== 'undefined') {
|
505
|
-
module.exports = Haml;
|
506
|
-
}
|