From 16d8b6a7ad2a21c8950e94cfc27e854022f11f39 Mon Sep 17 00:00:00 2001 From: Damien SOREL Date: Tue, 15 Mar 2016 17:33:13 +0100 Subject: [PATCH] Version 1.4.3 --- bower.json | 4 ++-- composer.json | 4 ++-- examples/index.html | 28 ++++++++++++++-------------- package.json | 2 +- src/.wrapper.js | 10 +++++----- src/query-builder.js | 6 +++--- tests/index.html | 8 ++++---- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/bower.json b/bower.json index c690da67..fd6304ec 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "jQuery-QueryBuilder", - "version": "1.4.2", + "version": "1.4.3", "authors": [{ "name": "Damien \"Mistic\" Sorel", "homepage": "http://www.strangeplanet.fr" @@ -14,7 +14,7 @@ "jquery": ">= 1.9.0", "bootstrap": "^3.1.0", "momentjs": "^2.6.0", - "microevent-mistic100": "^2.0.0", + "uevent": "^1.0.0", "jquery-extendext": "^0.1.1" }, "keywords": [ diff --git a/composer.json b/composer.json index c680a4a8..2721ac95 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mistic100/jquery-querybuilder", - "version": "1.4.2", + "version": "1.4.3", "description": "jQuery plugin for user friendly query/filter creator", "keywords": [ "jquery", @@ -23,4 +23,4 @@ "twbs/bootstrap": "3.2.*@dev" }, "license": "MIT" -} +} diff --git a/examples/index.html b/examples/index.html index 9d032147..46792545 100644 --- a/examples/index.html +++ b/examples/index.html @@ -17,15 +17,15 @@

Bootstrap Slider and Bootbox must be installed with Bower to run this demo.

- +
- +
- +
@@ -42,7 +42,7 @@

Output

- + @@ -58,17 +58,17 @@

Output

// define filters $('#builder').queryBuilder({ allow_empty: true, - + onValidationError: function($target, err) { console.error(err, $target); }, - + plugins: { 'bt-tooltip-errors': { delay: 100}, 'sortable': null, 'filter-description': { mode: 'bootbox' } }, - + filters: [ /* * basic @@ -139,7 +139,7 @@

Output

min: 0, step: 0.01 } - }, + }, /* * slider */ @@ -162,7 +162,7 @@

Output

input.slider('setValue', value); input.val(value); // don't know why I need it } - }, + }, /* * placeholder and regex validation */ @@ -197,10 +197,10 @@

Output

}, input: function($rule, filter) { var $container = $rule.find('.rule-value-container'); - + $container.on('change', '[name=coord_1]', function(){ var h = ''; - + switch ($(this).val()) { case 'A': h = ' '; @@ -212,10 +212,10 @@

Output

h = ' '; break; } - + $container.find('[name=coord_2]').html(h).toggle(h!=''); }); - + return '\