Skip to content

Commit

Permalink
bump version 0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Peter committed Apr 3, 2017
1 parent 6aa8ca4 commit e807595
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ A [Select2](https://select2.github.io) interface to use it inside a facet.

| Version | Date | Description |
| :-----: | :--------: | :--------------------------------------- |
| 0.2.8 | 2017-04-03 | Fixed daterange facet locale option overwrite #71 |
| 0.2.7 | 2017-02-02 | Fixed load if no options are passed #70 |
| 0.2.6 | 2017-02-02 | Fixed doubled search event on mouse click |
| 0.2.5 | 2017-02-01 | #69 tried to reduce jumping ui + optimized ux |
Expand Down
2 changes: 1 addition & 1 deletion css/iggy.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/iggy.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions dist/js/iggy.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions example/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@ jQuery( function( $ ){
//format: "DD [foo] MMM [bar] YY",
showWeekNumbers : true,
showDropdowns : true,
locale: {
firstDay : 1
},
timePicker: false,
ranges: {
'Today': [moment(), moment()],
Expand All @@ -663,6 +666,9 @@ jQuery( function( $ ){
showWeekNumbers : true,
showDropdowns : true,
timePicker: false,
locale: {
firstDay : 3
},
ranges: {
'Today': [moment(), moment()],
'Yesterday': [moment().subtract(1, 'day'), moment().subtract(1, 'day')],
Expand Down
9 changes: 7 additions & 2 deletions js/iggy.debug.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion js/iggy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ IGGY = (function(superClass) {

IGGY.prototype.$ = jQuery;

IGGY.prototype.jQuery = jQuery;

function IGGY(el, facets, options) {
if (facets == null) {
facets = [];
Expand Down Expand Up @@ -1235,6 +1237,7 @@ FacetSubsBase = (function(superClass) {

FacetSubsBase.prototype.initialize = function(options) {
this.sub = options.sub;
this.jQuery = this.sub.jQuery;
this.result = new SubResults();
};

Expand Down Expand Up @@ -1509,7 +1512,7 @@ FacetSubsDateRange = (function(superClass) {
FacetSubsDateRange.prototype.focus = function() {
var _opts, ref;
if (this.daterangepicker == null) {
_opts = _.extend({}, this.model.get("opts"), this.forcedDateRangeOpts());
_opts = this.jQuery.extend(true, {}, this.model.get("opts"), this.forcedDateRangeOpts());
this.$inp.daterangepicker(_opts, this._dateReturn);
this.daterangepicker = this.$inp.data("daterangepicker");
if ((ref = this.daterangepicker.container) != null) {
Expand Down Expand Up @@ -2953,6 +2956,7 @@ MainView = (function(superClass) {
MainView.prototype.initialize = function(options) {
var _cl, _fnSort, _valueFacets, fct, i, len, ref, ref1;
this.main = options.main;
this.jQuery = this.main.jQuery;
this.idx = options.idx;
this.results = options.results;
this.facets = {};
Expand Down Expand Up @@ -3717,6 +3721,7 @@ ViewSub = (function(superClass) {
this._isOpen = false;
this.result = new Backbone.Collection();
this.parent = options.parent;
this.jQuery = this.parent.jQuery;
this.$el.data("fctid", this.model.id);
this.parent.on("escape", (function(_this) {
return function(evnt, cb) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iggy",
"version": "0.2.7",
"version": "0.2.8",
"description": "Browser search module to use with Backbone.js",
"keywords": [],
"homepage": "https://github.com/mpneuried/iggy",
Expand Down

0 comments on commit e807595

Please sign in to comment.