formize 0.0.14 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. data/VERSION +1 -1
  2. data/lib/assets/javascripts/formize.js +100 -21
  3. data/lib/assets/javascripts/jquery.ui.formize.js +292 -231
  4. data/lib/assets/javascripts/jquery.ui.timepicker.js +1060 -0
  5. data/lib/assets/javascripts/locales/jquery.ui.datepicker-ar.js +18 -18
  6. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fa.js +18 -18
  7. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fr-CH.js +6 -6
  8. data/lib/assets/javascripts/locales/jquery.ui.datepicker-fr.js +1 -1
  9. data/lib/assets/javascripts/locales/jquery.ui.timepicker-cs.js +17 -0
  10. data/lib/assets/javascripts/locales/jquery.ui.timepicker-de.js +17 -0
  11. data/lib/assets/javascripts/locales/jquery.ui.timepicker-el.js +17 -0
  12. data/lib/assets/javascripts/locales/jquery.ui.timepicker-es.js +17 -0
  13. data/lib/assets/javascripts/locales/jquery.ui.timepicker-et.js +17 -0
  14. data/lib/assets/javascripts/locales/jquery.ui.timepicker-fr.js +17 -0
  15. data/lib/assets/javascripts/locales/jquery.ui.timepicker-hu.js +17 -0
  16. data/lib/assets/javascripts/locales/jquery.ui.timepicker-id.js +17 -0
  17. data/lib/assets/javascripts/locales/jquery.ui.timepicker-it.js +17 -0
  18. data/lib/assets/javascripts/locales/jquery.ui.timepicker-lt.js +17 -0
  19. data/lib/assets/javascripts/locales/jquery.ui.timepicker-nl.js +17 -0
  20. data/lib/assets/javascripts/locales/jquery.ui.timepicker-ru.js +17 -0
  21. data/lib/assets/javascripts/locales/jquery.ui.timepicker-tr.js +17 -0
  22. data/lib/assets/javascripts/locales/jquery.ui.timepicker-vi.js +17 -0
  23. data/lib/assets/stylesheets/jquery-ui.css +19 -1
  24. data/lib/formize.rb +63 -0
  25. data/lib/formize/helpers.rb +21 -0
  26. data/lib/formize/helpers/asset_tag_helper.rb +11 -7
  27. data/lib/formize/helpers/form_helper.rb +6 -19
  28. data/lib/formize/helpers/form_tag_helper.rb +31 -0
  29. data/lib/formize/railtie.rb +1 -0
  30. data/lib/generators/formize/install/install_generator.rb +5 -5
  31. data/lib/tasks/formize.rake +27 -0
  32. metadata +34 -14
@@ -3,22 +3,22 @@
3
3
  /* خالد الحوراني -- koko.dw@gmail.com */
4
4
  /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
5
5
  jQuery(function($){
6
- $.datepicker.regional['ar'] = {
7
- closeText: 'إغلاق',
8
- prevText: '<السابق',
9
- nextText: 'التالي>',
10
- currentText: 'اليوم',
11
- monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
12
- 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
13
- monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
14
- dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
15
- dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
16
- dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
17
- weekHeader: 'أسبوع',
18
- dateFormat: 'dd/mm/yy',
19
- firstDay: 0,
20
- isRTL: true,
21
- showMonthAfterYear: false,
22
- yearSuffix: ''};
23
- $.datepicker.setDefaults($.datepicker.regional['ar']);
6
+ $.datepicker.regional['ar'] = {
7
+ closeText: 'إغلاق',
8
+ prevText: '<السابق',
9
+ nextText: 'التالي>',
10
+ currentText: 'اليوم',
11
+ monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
12
+ 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
13
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
14
+ dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
15
+ dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
16
+ dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
17
+ weekHeader: 'أسبوع',
18
+ dateFormat: 'dd/mm/yy',
19
+ firstDay: 0,
20
+ isRTL: true,
21
+ showMonthAfterYear: false,
22
+ yearSuffix: ''};
23
+ $.datepicker.setDefaults($.datepicker.regional['ar']);
24
24
  });
@@ -2,22 +2,22 @@
2
2
  /* Javad Mowlanezhad -- jmowla@gmail.com */
3
3
  /* Jalali calendar should supported soon! (Its implemented but I have to test it) */
4
4
  jQuery(function($) {
5
- $.datepicker.regional['fa'] = {
6
- closeText: 'بستن',
7
- prevText: '<قبلي',
8
- nextText: 'بعدي>',
9
- currentText: 'امروز',
10
- monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
11
- 'مهر','آبان','آذر','دي','بهمن','اسفند'],
12
- monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
13
- dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
14
- dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
15
- dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
16
- weekHeader: 'هف',
17
- dateFormat: 'yy/mm/dd',
18
- firstDay: 6,
19
- isRTL: true,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
- $.datepicker.setDefaults($.datepicker.regional['fa']);
5
+ $.datepicker.regional['fa'] = {
6
+ closeText: 'بستن',
7
+ prevText: '<قبلي',
8
+ nextText: 'بعدي>',
9
+ currentText: 'امروز',
10
+ monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
11
+ 'مهر','آبان','آذر','دي','بهمن','اسفند'],
12
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
13
+ dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
14
+ dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
15
+ dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
16
+ weekHeader: 'هف',
17
+ dateFormat: 'yy/mm/dd',
18
+ firstDay: 6,
19
+ isRTL: true,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+ $.datepicker.setDefaults($.datepicker.regional['fa']);
23
23
  });
@@ -3,13 +3,13 @@
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['fr-CH'] = {
5
5
  closeText: 'Fermer',
6
- prevText: '<Pr�c',
6
+ prevText: '<Préc',
7
7
  nextText: 'Suiv>',
8
8
  currentText: 'Courant',
9
- monthNames: ['Janvier','F�vrier','Mars','Avril','Mai','Juin',
10
- 'Juillet','Ao�t','Septembre','Octobre','Novembre','D�cembre'],
11
- monthNamesShort: ['Jan','F�v','Mar','Avr','Mai','Jun',
12
- 'Jul','Ao�','Sep','Oct','Nov','D�c'],
9
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
10
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
11
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
12
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
13
13
  dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
14
14
  dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
15
15
  dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
@@ -20,4 +20,4 @@ jQuery(function($){
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['fr-CH']);
23
- });
23
+ });
@@ -20,4 +20,4 @@ jQuery(function($){
20
20
  showMonthAfterYear: false,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['fr']);
23
- });
23
+ });
@@ -0,0 +1,17 @@
1
+ /* Czech translation for the jQuery Timepicker Addon */
2
+ /* Written by Ondřej Vodáček */
3
+ (function($) {
4
+ $.timepicker.regional['cs'] = {
5
+ timeOnlyTitle: 'Vyberte čas',
6
+ timeText: 'Čas',
7
+ hourText: 'Hodiny',
8
+ minuteText: 'Minuty',
9
+ secondText: 'Vteřiny',
10
+ timezoneText: 'Časové pásmo',
11
+ currentText: 'Nyní',
12
+ closeText: 'Zavřít',
13
+ timeFormat: 'h:m',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['cs']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* German translation for the jQuery Timepicker Addon */
2
+ /* Written by Marvin */
3
+ (function($) {
4
+ $.timepicker.regional['de'] = {
5
+ timeOnlyTitle: 'Zeit Wählen',
6
+ timeText: 'Zeit',
7
+ hourText: 'Stunde',
8
+ minuteText: 'Minute',
9
+ secondText: 'Sekunde',
10
+ timezoneText: 'Zeitzone',
11
+ currentText: 'Jetzt',
12
+ closeText: 'Fertig',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['de']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Hellenic translation for the jQuery Timepicker Addon */
2
+ /* Written by Christos Pontikis */
3
+ (function($) {
4
+ $.timepicker.regional['el'] = {
5
+ timeOnlyTitle: 'Επιλογή ώρας',
6
+ timeText: 'Ώρα',
7
+ hourText: 'Ώρες',
8
+ minuteText: 'Λεπτά',
9
+ secondText: 'Δευτερόλεπτα',
10
+ timezoneText: 'Ζώνη ώρας',
11
+ currentText: 'Τώρα',
12
+ closeText: 'Κλείσιμο',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['el']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Spanish translation for the jQuery Timepicker Addon */
2
+ /* Written by Ianaré Sévi */
3
+ (function($) {
4
+ $.timepicker.regional['es'] = {
5
+ timeOnlyTitle: 'Elegir una hora',
6
+ timeText: 'Hora',
7
+ hourText: 'Horas',
8
+ minuteText: 'Minutos',
9
+ secondText: 'Segundos',
10
+ timezoneText: 'Huso horario',
11
+ currentText: 'Ahora',
12
+ closeText: 'Cerrar',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['es']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Estonian translation for the jQuery Timepicker Addon */
2
+ /* Written by Karl Sutt (karl@sutt.ee) */
3
+ (function($) {
4
+ $.timepicker.regional['et'] = {
5
+ timeOnlyTitle: 'Vali aeg',
6
+ timeText: 'Aeg',
7
+ hourText: 'Tund',
8
+ minuteText: 'Minut',
9
+ secondText: 'Sekund',
10
+ timezoneText: 'Ajavöönd',
11
+ currentText: 'Praegu',
12
+ closeText: 'Valmis',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['et']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* French translation for the jQuery Timepicker Addon */
2
+ /* Written by Thomas Lété */
3
+ (function($) {
4
+ $.timepicker.regional['fr'] = {
5
+ timeOnlyTitle: 'Choisir une heure',
6
+ timeText: 'Heure',
7
+ hourText: 'Heures',
8
+ minuteText: 'Minutes',
9
+ secondText: 'Secondes',
10
+ timezoneText: 'Fuseau horaire',
11
+ currentText: 'Maintenant',
12
+ closeText: 'Terminé',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['fr']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Hungarian translation for the jQuery Timepicker Addon */
2
+ /* Written by Vas Gábor */
3
+ (function($) {
4
+ $.timepicker.regional['hu'] = {
5
+ timeOnlyTitle: 'Válasszon időpontot',
6
+ timeText: 'Idő',
7
+ hourText: 'Óra',
8
+ minuteText: 'Perc',
9
+ secondText: 'Másodperc',
10
+ timezoneText: 'Időzóna',
11
+ currentText: 'Most',
12
+ closeText: 'Kész',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['hu']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Indonesian translation for the jQuery Timepicker Addon */
2
+ /* Written by Nia */
3
+ (function($) {
4
+ $.timepicker.regional['id'] = {
5
+ timeOnlyTitle: 'Pilih Waktu',
6
+ timeText: 'Waktu',
7
+ hourText: 'Pukul',
8
+ minuteText: 'Menit',
9
+ secondText: 'Detik',
10
+ timezoneText: 'Zona Waktu',
11
+ currentText: 'Sekarang',
12
+ closeText: 'OK',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['id']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Italian translation for the jQuery Timepicker Addon */
2
+ /* Written by Marco "logicoder" Del Tongo */
3
+ (function($) {
4
+ $.timepicker.regional['it'] = {
5
+ timeOnlyTitle: 'Scegli orario',
6
+ timeText: 'Orario',
7
+ hourText: 'Ora',
8
+ minuteText: 'Minuto',
9
+ secondText: 'Secondo',
10
+ timezoneText: 'Fuso orario',
11
+ currentText: 'Adesso',
12
+ closeText: 'Chiudi',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['it']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Lithuanian translation for the jQuery Timepicker Addon */
2
+ /* Written by Irmantas Šiupšinskas */
3
+ (function($) {
4
+ $.timepicker.regional['lt'] = {
5
+ timeOnlyTitle: 'Pasirinkite laiką',
6
+ timeText: 'Laikas',
7
+ hourText: 'Valandos',
8
+ minuteText: 'Minutės',
9
+ secondText: 'Sekundės',
10
+ timezoneText: 'Laiko zona',
11
+ currentText: 'Dabar',
12
+ closeText: 'Uždaryti',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['lt']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Dutch translation for the jQuery Timepicker Addon */
2
+ /* Written by Martijn van der Lee */
3
+ (function($) {
4
+ $.timepicker.regional['nl'] = {
5
+ timeOnlyTitle: 'Tijdstip',
6
+ timeText: 'Tijd',
7
+ hourText: 'Uur',
8
+ minuteText: 'Minuut',
9
+ secondText: 'Seconde',
10
+ timezoneText: 'Tijdzone',
11
+ currentText: 'Vandaag',
12
+ closeText: 'Sluiten',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['nl']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Russian translation for the jQuery Timepicker Addon */
2
+ /* Written by Trent Richardson */
3
+ (function($) {
4
+ $.timepicker.regional['ru'] = {
5
+ timeOnlyTitle: 'Выберите время',
6
+ timeText: 'Время',
7
+ hourText: 'Часы',
8
+ minuteText: 'Минуты',
9
+ secondText: 'Секунды',
10
+ timezoneText: 'Время зоны',
11
+ currentText: 'Теперь',
12
+ closeText: 'Закрыть',
13
+ timeFormat: 'hh:mm tt',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['ru']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Turkish translation for the jQuery Timepicker Addon */
2
+ /* Written by Fehmi Can Saglam */
3
+ (function($) {
4
+ $.timepicker.regional['tr'] = {
5
+ timeOnlyTitle: 'Zaman Seçiniz',
6
+ timeText: 'Zaman',
7
+ hourText: 'Saat',
8
+ minuteText: 'Dakika',
9
+ secondText: 'Saniye',
10
+ timezoneText: 'Zaman Dilimi',
11
+ currentText: 'Şu an',
12
+ closeText: 'Tamam',
13
+ timeFormat: 'hh:mm',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['tr']);
17
+ })(jQuery);
@@ -0,0 +1,17 @@
1
+ /* Vietnamese translation for the jQuery Timepicker Addon */
2
+ /* Written by Nguyen Dinh Trung */
3
+ (function($) {
4
+ $.timepicker.regional['vi'] = {
5
+ timeOnlyTitle: 'Chọn giờ',
6
+ timeText: 'Thời gian',
7
+ hourText: 'Giờ',
8
+ minuteText: 'Phút',
9
+ secondText: 'Giây',
10
+ timezoneText: 'Múi giờ',
11
+ currentText: 'Hiện thời',
12
+ closeText: 'Đóng',
13
+ timeFormat: 'h:m',
14
+ ampm: false
15
+ };
16
+ $.timepicker.setDefaults($.timepicker.regional['vi']);
17
+ })(jQuery);
@@ -565,4 +565,22 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
565
565
  * http://docs.jquery.com/UI/Progressbar#theming
566
566
  */
567
567
  .ui-progressbar { height:2em; text-align: left; }
568
- .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
568
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
569
+
570
+ /*
571
+ * jQuery timepicker addon
572
+ * By: Trent Richardson [http://trentrichardson.com]
573
+ * Version 0.9.6
574
+ * Last Modified: 07/20/2011
575
+ *
576
+ * Copyright 2011 Trent Richardson
577
+ * Dual licensed under the MIT and GPL licenses.
578
+ * http://trentrichardson.com/Impromptu/GPL-LICENSE.txt
579
+ * http://trentrichardson.com/Impromptu/MIT-LICENSE.txt
580
+ */
581
+ .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
582
+ .ui-timepicker-div dl { text-align: left; }
583
+ .ui-timepicker-div dl dt { height: 25px; }
584
+ .ui-timepicker-div dl dd { margin: -25px 10px 10px 65px; }
585
+ .ui-timepicker-div td { font-size: 90%; }
586
+ .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
data/lib/formize.rb CHANGED
@@ -38,6 +38,69 @@ module Formize
38
38
  # How many select options can be displayed before to become a +unroll+
39
39
  configure :select_count_max, 7
40
40
 
41
+
42
+
43
+
44
+
45
+ # Compile a monolithic javascript file formize.js with all included
46
+ def self.compile!
47
+ # js_dir = Pathname.new(File.dirname(__FILE__)).join("..", "assets", "javascripts")
48
+ js_dir = File.join(File.dirname(__FILE__), "assets", "javascripts")
49
+ File.open("#{js_dir}/formize.js", "wb") do |js|
50
+
51
+ js.write "(function($) {\n"
52
+ for file in Dir.glob("#{js_dir}/locales/jquery.ui.datepicker*.js").sort
53
+ File.open(file, "rb") do |f|
54
+ source = f.read
55
+ source.gsub!("jQuery(function($){", '')
56
+ source.gsub!(/\/\*[^\*\/]*\*\//, '')
57
+ source.gsub!(/\$\.datepicker\.setDefaults\(\$\.datepicker\.regional\[\'\w\w(\-\w\w)?\'\]\)\;/, '')
58
+ source.gsub!("});", '')
59
+ source = source.strip.split(/\n/).collect{|l| l.strip}.join(" ").strip.sub(/^.*\$/, '$')
60
+ js.write source
61
+ # js.write f.read
62
+ js.write "\n"
63
+ end
64
+ end
65
+ js.write "})(jQuery);\n"
66
+
67
+
68
+ # File.open("#{js_dir}/jquery.ui.timepicker.js", "rb") do |f|
69
+ # js.write f.read
70
+ # js.write "\n"
71
+ # end
72
+
73
+
74
+ # js.write "(function($) {\n"
75
+ # for file in Dir.glob("#{js_dir}/locales/jquery.ui.timepicker*.js").sort
76
+ # File.open(file, "rb") do |f|
77
+ # source = f.read
78
+ # source.gsub!("(function($) {", '')
79
+ # source.gsub!(/\/\*[^\*\/]*\*\//, '')
80
+ # source.gsub!(/\$\.timepicker\.setDefaults\(\$\.timepicker\.regional\[\'\w\w(\-\w\w)?\'\]\)\;/, '')
81
+ # source.gsub!("})(jQuery)\;", '')
82
+ # source = source.strip.split(/\n/).collect{ |l| l.gsub(/^\s*/, '')}.join(" ").sub(/^.*\$/, '$')
83
+ # js.write source
84
+ # js.write "\n"
85
+ # end
86
+ # end
87
+ # js.write "})(jQuery);\n"
88
+
89
+
90
+ File.open("#{js_dir}/jquery.ui.formize.js", "rb") do |f|
91
+ js.write f.read
92
+ js.write "\n"
93
+ end
94
+ end
95
+
96
+ end
97
+
98
+
99
+
100
+
101
+
102
+
103
+
41
104
  autoload :Definition
42
105
  autoload :Helpers
43
106
  autoload :ActionController