compass-jquery-plugin 0.3.0.beta.20 → 0.3.0.beta.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,38 +1,38 @@
1
- # ====
2
- # The following options can be changed by creating an initializer in config/initializers/jrails.rb
3
- # ====
4
- # ActionView::Helpers::PrototypeHelper::JQUERY_VAR
5
- # jRails uses jQuery.noConflict() by default
6
- # to use the regular jQuery syntax, use:
7
- # ActionView::Helpers::PrototypeHelper::JQUERY_VAR = '$'
8
- ActionView::Helpers::PrototypeHelper::JQUERY_VAR = 'jQuery'
9
-
10
- # ActionView::Helpers::PrototypeHelper:: DISABLE_JQUERY_FORGERY_PROTECTION
11
- # Set this to disable forgery protection in ajax calls
12
- # This is handy if you want to use caching with ajax by injecting the forgery token via another means
13
- # for an example, see http://henrik.nyh.se/2008/05/rails-authenticity-token-with-jquery
14
- # ActionView::Helpers::PrototypeHelper::DISABLE_JQUERY_FORGERY_PROTECTION = true
15
- # ====
16
-
17
- ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery-1.4.2.min', 'jquery-ui-1.8.5.min', 'jrails.min']
18
- ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
19
-
20
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery_142 => ['jquery-1.4.2.min', 'jquery-ui-1.8.5.min']
21
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jrails => ['jrails.min']
22
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jhaml => ['jquery.haml.min']
23
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :haml_js => ['haml-js.min']
24
- ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :contextMenu => ['compiled/jquery.ui/contextMenu.css']
25
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :contextMenu => ['jquery.contextMenu.min']
26
- ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :farbtastic => ['compiled/jquery.ui/farbtastic.css']
27
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :farbtastic => ['jquery.farbtastic.min']
28
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :hotkeys => ['jquery.hotkeys.min']
29
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :pngFix => ['jquery.pngFix.min']
30
- ActionView::Helpers::AssetTagHelper.register_javascript_expansion :themeSwitcher => ['jquery.themeswitchertool.min']
31
-
32
- require 'jquery/jrails'
33
- require 'jquery/jquery_selector_assertions' if RAILS_ENV == 'test'
34
- require 'jquery/jquery_auto_complete'
35
- require 'jquery/flash_messages'
36
-
37
- ActionController::Base.send(:include, FlashMessages::ControllerMethods)
38
- ActionView::Base.send(:include, FlashMessages::Display)
1
+ # ====
2
+ # The following options can be changed by creating an initializer in config/initializers/jrails.rb
3
+ # ====
4
+ # ActionView::Helpers::PrototypeHelper::JQUERY_VAR
5
+ # jRails uses jQuery.noConflict() by default
6
+ # to use the regular jQuery syntax, use:
7
+ # ActionView::Helpers::PrototypeHelper::JQUERY_VAR = '$'
8
+ ActionView::Helpers::PrototypeHelper::JQUERY_VAR = 'jQuery'
9
+
10
+ # ActionView::Helpers::PrototypeHelper:: DISABLE_JQUERY_FORGERY_PROTECTION
11
+ # Set this to disable forgery protection in ajax calls
12
+ # This is handy if you want to use caching with ajax by injecting the forgery token via another means
13
+ # for an example, see http://henrik.nyh.se/2008/05/rails-authenticity-token-with-jquery
14
+ # ActionView::Helpers::PrototypeHelper::DISABLE_JQUERY_FORGERY_PROTECTION = true
15
+ # ====
16
+
17
+ ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery-1.4.2.min', 'jquery-ui-1.8.5.min', 'jrails.min']
18
+ ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
19
+
20
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery_142 => ['jquery-1.4.2.min', 'jquery-ui-1.8.5.min']
21
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jrails => ['jrails.min']
22
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jhaml => ['jquery.haml.min']
23
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :haml_js => ['haml-js.min']
24
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :contextMenu => ['compiled/jquery.ui/contextMenu.css']
25
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :contextMenu => ['jquery.contextMenu.min']
26
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :farbtastic => ['compiled/jquery.ui/farbtastic.css']
27
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :farbtastic => ['jquery.farbtastic.min']
28
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :hotkeys => ['jquery.hotkeys.min']
29
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :pngFix => ['jquery.pngFix.min']
30
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :themeSwitcher => ['jquery.themeswitchertool.min']
31
+
32
+ require 'jquery/jrails'
33
+ require 'jquery/jquery_selector_assertions' if RAILS_ENV == 'test'
34
+ require 'jquery/jquery_auto_complete'
35
+ require 'jquery/flash_messages'
36
+
37
+ ActionController::Base.send(:include, FlashMessages::ControllerMethods)
38
+ ActionView::Base.send(:include, FlashMessages::Display)
@@ -1,23 +1,23 @@
1
- /* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
3
- jQuery(function($){
4
- $.datepicker.regional['kz'] = {
5
- closeText: 'Жабу',
6
- prevText: '<Алдыңғы',
7
- nextText: 'Келесі>',
8
- currentText: 'Бүгін',
9
- monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
10
- 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
11
- monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
12
- 'Шіл','Там','Қыр','Қаз','Қар','Жел'],
13
- dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
14
- dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
15
- dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
16
- weekHeader: 'Не',
17
- dateFormat: 'dd.mm.yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
- $.datepicker.setDefaults($.datepicker.regional['kz']);
23
- });
1
+ /* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['kz'] = {
5
+ closeText: 'Жабу',
6
+ prevText: '<Алдыңғы',
7
+ nextText: 'Келесі>',
8
+ currentText: 'Бүгін',
9
+ monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
10
+ 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],
11
+ monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау',
12
+ 'Шіл','Там','Қыр','Қаз','Қар','Жел'],
13
+ dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'],
14
+ dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'],
15
+ dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'],
16
+ weekHeader: 'Не',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+ $.datepicker.setDefaults($.datepicker.regional['kz']);
23
+ });
@@ -1,4 +1,4 @@
1
- jQuery(function(a){a.datepicker.regional.kz={closeText:"\u0416\u0430\u0431\u0443",prevText:"<\u0410\u043b\u0434\u044b\u04a3\u0493\u044b",nextText:"\u041a\u0435\u043b\u0435\u0441\u0456>",currentText:"\u0411\u04af\u0433\u0456\u043d",monthNames:["\u049a\u0430\u04a3\u0442\u0430\u0440","\u0410\u049b\u043f\u0430\u043d","\u041d\u0430\u0443\u0440\u044b\u0437","\u0421\u04d9\u0443\u0456\u0440","\u041c\u0430\u043c\u044b\u0440","\u041c\u0430\u0443\u0441\u044b\u043c","\u0428\u0456\u043b\u0434\u0435",
2
- "\u0422\u0430\u043c\u044b\u0437","\u049a\u044b\u0440\u043a\u04af\u0439\u0435\u043a","\u049a\u0430\u0437\u0430\u043d","\u049a\u0430\u0440\u0430\u0448\u0430","\u0416\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d"],monthNamesShort:["\u049a\u0430\u04a3","\u0410\u049b\u043f","\u041d\u0430\u0443","\u0421\u04d9\u0443","\u041c\u0430\u043c","\u041c\u0430\u0443","\u0428\u0456\u043b","\u0422\u0430\u043c","\u049a\u044b\u0440","\u049a\u0430\u0437","\u049a\u0430\u0440","\u0416\u0435\u043b"],dayNames:["\u0416\u0435\u043a\u0441\u0435\u043d\u0431\u0456",
3
- "\u0414\u04af\u0439\u0441\u0435\u043d\u0431\u0456","\u0421\u0435\u0439\u0441\u0435\u043d\u0431\u0456","\u0421\u04d9\u0440\u0441\u0435\u043d\u0431\u0456","\u0411\u0435\u0439\u0441\u0435\u043d\u0431\u0456","\u0416\u04b1\u043c\u0430","\u0421\u0435\u043d\u0431\u0456"],dayNamesShort:["\u0436\u043a\u0441","\u0434\u0441\u043d","\u0441\u0441\u043d","\u0441\u0440\u0441","\u0431\u0441\u043d","\u0436\u043c\u0430","\u0441\u043d\u0431"],dayNamesMin:["\u0416\u043a","\u0414\u0441","\u0421\u0441","\u0421\u0440",
4
- "\u0411\u0441","\u0416\u043c","\u0421\u043d"],weekHeader:"\u041d\u0435",dateFormat:"dd.mm.yy",firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:""};a.datepicker.setDefaults(a.datepicker.regional.kz)});
1
+ jQuery(function(a){a.datepicker.regional.kz={closeText:"\u0416\u0430\u0431\u0443",prevText:"<\u0410\u043b\u0434\u044b\u04a3\u0493\u044b",nextText:"\u041a\u0435\u043b\u0435\u0441\u0456>",currentText:"\u0411\u04af\u0433\u0456\u043d",monthNames:["\u049a\u0430\u04a3\u0442\u0430\u0440","\u0410\u049b\u043f\u0430\u043d","\u041d\u0430\u0443\u0440\u044b\u0437","\u0421\u04d9\u0443\u0456\u0440","\u041c\u0430\u043c\u044b\u0440","\u041c\u0430\u0443\u0441\u044b\u043c","\u0428\u0456\u043b\u0434\u0435",
2
+ "\u0422\u0430\u043c\u044b\u0437","\u049a\u044b\u0440\u043a\u04af\u0439\u0435\u043a","\u049a\u0430\u0437\u0430\u043d","\u049a\u0430\u0440\u0430\u0448\u0430","\u0416\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d"],monthNamesShort:["\u049a\u0430\u04a3","\u0410\u049b\u043f","\u041d\u0430\u0443","\u0421\u04d9\u0443","\u041c\u0430\u043c","\u041c\u0430\u0443","\u0428\u0456\u043b","\u0422\u0430\u043c","\u049a\u044b\u0440","\u049a\u0430\u0437","\u049a\u0430\u0440","\u0416\u0435\u043b"],dayNames:["\u0416\u0435\u043a\u0441\u0435\u043d\u0431\u0456",
3
+ "\u0414\u04af\u0439\u0441\u0435\u043d\u0431\u0456","\u0421\u0435\u0439\u0441\u0435\u043d\u0431\u0456","\u0421\u04d9\u0440\u0441\u0435\u043d\u0431\u0456","\u0411\u0435\u0439\u0441\u0435\u043d\u0431\u0456","\u0416\u04b1\u043c\u0430","\u0421\u0435\u043d\u0431\u0456"],dayNamesShort:["\u0436\u043a\u0441","\u0434\u0441\u043d","\u0441\u0441\u043d","\u0441\u0440\u0441","\u0431\u0441\u043d","\u0436\u043c\u0430","\u0441\u043d\u0431"],dayNamesMin:["\u0416\u043a","\u0414\u0441","\u0421\u0441","\u0421\u0440",
4
+ "\u0411\u0441","\u0416\u043c","\u0421\u043d"],weekHeader:"\u041d\u0435",dateFormat:"dd.mm.yy",firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:""};a.datepicker.setDefaults(a.datepicker.regional.kz)});