Release v0.4.1

This commit is contained in:
vieron
2014-02-07 15:10:48 +01:00
parent 5672edb05e
commit 6eef93cc16
8 changed files with 53 additions and 31 deletions

View File

@@ -1,3 +1,25 @@
<a name="v0.4.1"></a>
### v0.4.1 (2014-02-07)
#### Bug Fixes
* add resize.min_size option to default config object ([5672edb0](http://github.com/ducksboard/gridster.js/commit/5672edb05e39c6b9ff5e3ca31d68c9e94dfaa617))
* **gridster:**
* leaking options with multiple Gridster instances ([7ed79e56](http://github.com/ducksboard/gridster.js/commit/7ed79e56721069e90686a52d11eb7430d4cbf96e))
* resize.axes default option only 'both' ([e9dc5134](http://github.com/ducksboard/gridster.js/commit/e9dc5134573d0a83413ad86b45e30587ca45b65f))
* **licenses:** add required copyright message for underscore ([6f207230](http://github.com/ducksboard/gridster.js/commit/6f207230393f068bcab13f21b547c708f9fc3983))
* **readme:** link title jsfiddle -> jsbin, edit 5) of process steps ([e9d8d8d6](http://github.com/ducksboard/gridster.js/commit/e9d8d8d6e2e492d4081431d644ed135953d913cf))
#### Features
* **draggable:**
* method to set drag limits dynamically ([8fa3ad25](http://github.com/ducksboard/gridster.js/commit/8fa3ad258f7f64a1288df6ef9ba528ed766e054f))
* support horizontal scrolling while dragging ([b0b4464a](http://github.com/ducksboard/gridster.js/commit/b0b4464a5cdb5651edc36134ceda766dcce01bed))
* **gridster:** increase grid width when dragging or resizing ([b65a8029](http://github.com/ducksboard/gridster.js/commit/b65a802964f74092fbb6d356ef933d63775f8956))
* **resize:** add option to set min_size of a widget ([429c776a](http://github.com/ducksboard/gridster.js/commit/429c776aa95c1e702922e7957a64738bd317f50a))
<a name="v0.4.0"></a>
## v0.4.0 (2014-02-07)

View File

@@ -1,4 +1,4 @@
/*! gridster.js - v0.4.0 - 2014-02-07
/*! gridster.js - v0.4.1 - 2014-02-07
* http://gridster.net/
* Copyright (c) 2014 ducksboard; Licensed MIT */

View File

@@ -1,4 +1,4 @@
/*! gridster.js - v0.4.0 - 2014-02-07
/*! gridster.js - v0.4.1 - 2014-02-07
* http://gridster.net/
* Copyright (c) 2014 ducksboard; Licensed MIT */
@@ -318,15 +318,9 @@
;(function(window, undefined) {
window.delay = function(func, wait) {
var args = Array.prototype.slice.call(arguments, 2);
return setTimeout(function(){ return func.apply(null, args); }, wait);
};
/* Debounce and throttle functions taken from underscore.js
/* Delay, debounce and throttle functions taken from underscore.js
*
* Copyright (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and
* Copyright (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and
* Investigative Reporters & Editors
*
* Permission is hereby granted, free of charge, to any person
@@ -337,7 +331,7 @@
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
@@ -350,7 +344,12 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
window.delay = function(func, wait) {
var args = Array.prototype.slice.call(arguments, 2);
return setTimeout(function(){ return func.apply(null, args); }, wait);
};
window.debounce = function(func, wait, immediate) {
var timeout;
return function() {
@@ -814,7 +813,8 @@
axes: ['both'],
handle_append_to: '',
handle_class: 'gs-resize-handle',
max_size: [Infinity, Infinity]
max_size: [Infinity, Infinity],
min_size: [1, 1]
}
};

View File

@@ -1,2 +1,2 @@
/*! gridster.js - v0.4.0 - 2014-02-07 - * http://gridster.net/ - Copyright (c) 2014 ducksboard; Licensed MIT */
/*! gridster.js - v0.4.1 - 2014-02-07 - * http://gridster.net/ - Copyright (c) 2014 ducksboard; Licensed MIT */
.gridster{position:relative}.gridster>*{margin:0 auto;-webkit-transition:height .4s,width .4s;-moz-transition:height .4s,width .4s;-o-transition:height .4s,width .4s;-ms-transition:height .4s,width .4s;transition:height .4s,width .4s}.gridster .gs-w{z-index:2;position:absolute}.ready .gs-w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s;-moz-transition:opacity .3s,left .3s,top .3s;-o-transition:opacity .3s,left .3s,top .3s;transition:opacity .3s,left .3s,top .3s}.ready .gs-w:not(.preview-holder),.ready .resize-preview-holder{-webkit-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-moz-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-o-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;transition:opacity .3s,left .3s,top .3s,width .3s,height .3s}.gridster .preview-holder{z-index:1;position:absolute;background-color:#fff;border-color:#fff;opacity:.3}.gridster .player-revert{z-index:10!important;-webkit-transition:left .3s,top .3s!important;-moz-transition:left .3s,top .3s!important;-o-transition:left .3s,top .3s!important;transition:left .3s,top .3s!important}.gridster .dragging,.gridster .resizing{z-index:10!important;-webkit-transition:all 0s!important;-moz-transition:all 0s!important;-o-transition:all 0s!important;transition:all 0s!important}.gs-resize-handle{position:absolute;z-index:1}.gs-resize-handle-both{width:20px;height:20px;bottom:-8px;right:-8px;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=);background-position:top left;background-repeat:no-repeat;cursor:se-resize;z-index:20}.gs-resize-handle-x{top:0;bottom:13px;right:-5px;width:10px;cursor:e-resize}.gs-resize-handle-y{left:0;right:13px;bottom:-5px;height:10px;cursor:s-resize}.gs-w:hover .gs-resize-handle,.resizing .gs-resize-handle{opacity:1}.gs-resize-handle,.gs-w.dragging .gs-resize-handle{opacity:0}.gs-resize-disabled .gs-resize-handle{display:none!important}[data-max-sizex="1"] .gs-resize-handle-x,[data-max-sizey="1"] .gs-resize-handle-y,[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle{display:none!important}

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
/*! gridster.js - v0.4.0 - 2014-02-07
/*! gridster.js - v0.4.1 - 2014-02-07
* http://gridster.net/
* Copyright (c) 2014 ducksboard; Licensed MIT */
@@ -318,15 +318,9 @@
;(function(window, undefined) {
window.delay = function(func, wait) {
var args = Array.prototype.slice.call(arguments, 2);
return setTimeout(function(){ return func.apply(null, args); }, wait);
};
/* Debounce and throttle functions taken from underscore.js
/* Delay, debounce and throttle functions taken from underscore.js
*
* Copyright (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and
* Copyright (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and
* Investigative Reporters & Editors
*
* Permission is hereby granted, free of charge, to any person
@@ -337,7 +331,7 @@
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
@@ -350,7 +344,12 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
window.delay = function(func, wait) {
var args = Array.prototype.slice.call(arguments, 2);
return setTimeout(function(){ return func.apply(null, args); }, wait);
};
window.debounce = function(func, wait, immediate) {
var timeout;
return function() {
@@ -814,7 +813,8 @@
axes: ['both'],
handle_append_to: '',
handle_class: 'gs-resize-handle',
max_size: [Infinity, Infinity]
max_size: [Infinity, Infinity],
min_size: [1, 1]
}
};

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@
"name": "gridster",
"title": "gridster.js",
"description": "a drag-and-drop multi-column jQuery grid plugin",
"version": "0.4.0",
"version": "0.4.1",
"homepage": "http://gridster.net/",
"author": {
"name": "ducksboard",