jQuery plugin offering an interface to create complex queries.
http://mistic100.github.io/jQuery-QueryBuilder
- Bootstrap 3.x CSS
- jQuery >= 1.9
- jQuery.extendext
- MicroEvent (mistic100 version)
- (optional) MomentJS
- (optional) any widgets library like jQuery UI
($.extendext and MicroEvent are directly included in the standalone file)
- Internet Explorer >= 10
- Mozilla FireFox ??
- Google Chrome ??
- Opera ??
- Safari ??
Run grunt
in root directory to generate minified files inside dist
.
You can choose which plugins to include with --modules
# include "sql-support" plugin
grunt --modules=sql-support
# disable all modules
grunt --modules=false
All plugins are included by default.
You can also include ONE language with --lang
# include French translation
grunt --lang=fr
Run grunt test
to run jsHint and the Mocha test suite.
Run grunt list_modules
to get the list of available plugins and languages.
To import this into require.js you need to set the microevent and extendext folders and set them as dependencies in your AMD file. For example, like this:
paths: {
"microevent": "../bower_components/microevent-mistic100/microevent",
"extendext": "../bower_components/jquery-extendext/jQuery.extendext",
},
shim: {
jquery: {
exports: "jQuery"
},
jquerybuilder: ["jquery", "microevent", "extendext"]
}
Changes have to be done only in src
directory. The dist
directory is updated only once in a while before a release.