Browse Source

jQuery: introduce external plugin menu

List all jQuery plugins in a dedicated menu and remove
uneeded jQuery selection.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov 10 years ago
parent
commit
9312178f56

+ 4 - 0
package/Config.in

@@ -947,6 +947,8 @@ menu "Javascript"
 	source "package/explorercanvas/Config.in"
 	source "package/explorercanvas/Config.in"
 	source "package/flot/Config.in"
 	source "package/flot/Config.in"
 	source "package/jquery/Config.in"
 	source "package/jquery/Config.in"
+if BR2_PACKAGE_JQUERY
+menu "external jQuery plugins"
 	source "package/jquery-datetimepicker/Config.in"
 	source "package/jquery-datetimepicker/Config.in"
 	source "package/jquery-keyboard/Config.in"
 	source "package/jquery-keyboard/Config.in"
 	source "package/jquery-mobile/Config.in"
 	source "package/jquery-mobile/Config.in"
@@ -954,6 +956,8 @@ menu "Javascript"
 	source "package/jquery-ui/Config.in"
 	source "package/jquery-ui/Config.in"
 	source "package/jquery-ui-themes/Config.in"
 	source "package/jquery-ui-themes/Config.in"
 	source "package/jquery-validation/Config.in"
 	source "package/jquery-validation/Config.in"
+endmenu
+endif
 	source "package/jsmin/Config.in"
 	source "package/jsmin/Config.in"
 	source "package/json-javascript/Config.in"
 	source "package/json-javascript/Config.in"
 endmenu
 endmenu

+ 0 - 1
package/jquery-datetimepicker/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_DATETIMEPICKER
 config BR2_PACKAGE_JQUERY_DATETIMEPICKER
 	bool "jquery-datetimepicker"
 	bool "jquery-datetimepicker"
-	select BR2_PACKAGE_JQUERY
 	help
 	help
 	  Use this plugin to unobtrusively add a datetimepicker,
 	  Use this plugin to unobtrusively add a datetimepicker,
 	  datepicker or timepicker dropdown to your forms.
 	  datepicker or timepicker dropdown to your forms.

+ 1 - 2
package/jquery-keyboard/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_KEYBOARD
 config BR2_PACKAGE_JQUERY_KEYBOARD
-	bool "jQuery keyboard"
-	select BR2_PACKAGE_JQUERY
+	bool "jquery-keyboard"
 	select BR2_PACKAGE_JQUERY_UI
 	select BR2_PACKAGE_JQUERY_UI
 	help
 	help
 	  Virtual Keyboard using jQuery UI
 	  Virtual Keyboard using jQuery UI

+ 1 - 2
package/jquery-sparkline/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_SPARKLINE
 config BR2_PACKAGE_JQUERY_SPARKLINE
-	bool "jQuery-Sparkline"
-	select BR2_PACKAGE_JQUERY
+	bool "jquery-sparkline"
 	help
 	help
 	  This jQuery plugin generates sparklines (small inline
 	  This jQuery plugin generates sparklines (small inline
 	  charts) directly in the browser using data supplied either
 	  charts) directly in the browser using data supplied either

+ 1 - 1
package/jquery-ui-themes/Config.in

@@ -1,5 +1,5 @@
 config BR2_PACKAGE_JQUERY_UI_THEMES
 config BR2_PACKAGE_JQUERY_UI_THEMES
-	bool "jQuery UI themes"
+	bool "jquery-ui-themes"
 	depends on BR2_PACKAGE_JQUERY_UI
 	depends on BR2_PACKAGE_JQUERY_UI
 	help
 	help
 	  Themes for jQuery UI.
 	  Themes for jQuery UI.

+ 1 - 2
package/jquery-ui/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_UI
 config BR2_PACKAGE_JQUERY_UI
-	bool "jQuery UI"
-	select BR2_PACKAGE_JQUERY
+	bool "jquery-ui"
 	help
 	help
 	  jQuery UI provides abstractions for low-level interaction and
 	  jQuery UI provides abstractions for low-level interaction and
 	  animation, advanced effects and high-level, themeable widgets,
 	  animation, advanced effects and high-level, themeable widgets,

+ 1 - 2
package/jquery-validation/Config.in

@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_VALIDATION
 config BR2_PACKAGE_JQUERY_VALIDATION
-	bool "jQuery-Validation"
-	select BR2_PACKAGE_JQUERY
+	bool "jquery-validation"
 	help
 	help
 	  The jQuery Validation Plugin provides drop-in validation for
 	  The jQuery Validation Plugin provides drop-in validation for
 	  your existing forms, while making all kinds of
 	  your existing forms, while making all kinds of