jQuery: introduce external plugin menu
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 7 Aug 2015 12:10:09 +0000 (14:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Dec 2015 21:54:12 +0000 (22:54 +0100)
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>
package/Config.in
package/jquery-datetimepicker/Config.in
package/jquery-keyboard/Config.in
package/jquery-sparkline/Config.in
package/jquery-ui-themes/Config.in
package/jquery-ui/Config.in
package/jquery-validation/Config.in

index 59a91369d488f29acf12e74d4b0ab4504169e078..4a1d7067a05ac7d1ad3091d87257e3473c5395a6 100644 (file)
@@ -947,6 +947,8 @@ menu "Javascript"
        source "package/explorercanvas/Config.in"
        source "package/flot/Config.in"
        source "package/jquery/Config.in"
+if BR2_PACKAGE_JQUERY
+menu "external jQuery plugins"
        source "package/jquery-datetimepicker/Config.in"
        source "package/jquery-keyboard/Config.in"
        source "package/jquery-mobile/Config.in"
@@ -954,6 +956,8 @@ menu "Javascript"
        source "package/jquery-ui/Config.in"
        source "package/jquery-ui-themes/Config.in"
        source "package/jquery-validation/Config.in"
+endmenu
+endif
        source "package/jsmin/Config.in"
        source "package/json-javascript/Config.in"
 endmenu
index 6a07ec31c0dca3dfab2f71dac337943808fd050b..9da37188ae8b278c07e82aa90dd397f5145a5d33 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_DATETIMEPICKER
        bool "jquery-datetimepicker"
-       select BR2_PACKAGE_JQUERY
        help
          Use this plugin to unobtrusively add a datetimepicker,
          datepicker or timepicker dropdown to your forms.
index e44193ed649f28fb84b832182a0b7f3025191880..117c4a566550ddbaabd28d0daddbd601ef7110db 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_KEYBOARD
-       bool "jQuery keyboard"
-       select BR2_PACKAGE_JQUERY
+       bool "jquery-keyboard"
        select BR2_PACKAGE_JQUERY_UI
        help
          Virtual Keyboard using jQuery UI
index ae66364aa6813206ada30f8f23a6ce0a47900b58..1741a2941a1d010d6bb26542cb5aed18a8954bf0 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_SPARKLINE
-       bool "jQuery-Sparkline"
-       select BR2_PACKAGE_JQUERY
+       bool "jquery-sparkline"
        help
          This jQuery plugin generates sparklines (small inline
          charts) directly in the browser using data supplied either
index bea1a431129fe5591b72038a1c3f75377d86d9dc..a7ae11eca600cdee5cd932c9c12058dca7c810c1 100644 (file)
@@ -1,5 +1,5 @@
 config BR2_PACKAGE_JQUERY_UI_THEMES
-       bool "jQuery UI themes"
+       bool "jquery-ui-themes"
        depends on BR2_PACKAGE_JQUERY_UI
        help
          Themes for jQuery UI.
index f1653d5ab8b7caf7a0910bc415eab6ab0cf8694b..a7c0a6df5a6a5d6687484727132faa3bffd63c45 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_UI
-       bool "jQuery UI"
-       select BR2_PACKAGE_JQUERY
+       bool "jquery-ui"
        help
          jQuery UI provides abstractions for low-level interaction and
          animation, advanced effects and high-level, themeable widgets,
index ab2ee26133883669ae8663d7e2886bf291926bf2..39e898e8537c1f39374c453ac66195d4a1ae5b85 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JQUERY_VALIDATION
-       bool "jQuery-Validation"
-       select BR2_PACKAGE_JQUERY
+       bool "jquery-validation"
        help
          The jQuery Validation Plugin provides drop-in validation for
          your existing forms, while making all kinds of