Skip to content

hendrixski/jQuery-QueryBuilder

 
 

Repository files navigation

jQuery QueryBuilder

Bower version Build Status

jQuery plugin offering an interface to create complex queries.

Documentation

http://mistic100.github.io/jQuery-QueryBuilder

Dependencies

  • 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)

Browser support

  • Internet Explorer >= 10
  • Mozilla FireFox ??
  • Google Chrome ??
  • Opera ??
  • Safari ??

Build

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.

AMD importing

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"]
}

Contributing

Changes have to be done only in src directory. The dist directory is updated only once in a while before a release.

Inspiration

About

jQuery plugin offering an interface to create complex queries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.1%
  • HTML 2.9%
  • CSS 2.0%