Skip to content

Commit 8f7c74d

Browse files
author
Alain Dumesny
committed
readme typo fixes
* also fixed mkdir /dist which gives error if already there. Build creates it anyway.
1 parent da1966a commit 8f7c74d

File tree

3 files changed

+30
-29
lines changed

3 files changed

+30
-29
lines changed

doc/CHANGES.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Change log
55
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
66
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
77

8-
- [v0.1.0 (development)](#v010-development)
8+
- [v1.0.0 (development)](#v100-development)
99
- [v0.4.0](#v040)
1010
- [v0.3.0 (2017-04-21)](#v030-2017-04-21)
1111
- [v0.2.6 (2016-08-17)](#v026-2016-08-17)
@@ -19,49 +19,50 @@ Change log
1919

2020
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2121

22-
## v0.1.0 (development)
22+
## v1.0.0 (development)
2323

24-
- emit `dropped` event when a widget is dropped from one grid into another ([#823](https://github.com/troolee/gridstack.js/issues/823)).
25-
- don't throw error if no bounding scroll element is found ([#891](https://github.com/troolee/gridstack.js/issues/891)).
26-
- don't push locked widgets even if they are at the top of the grid ([#882](https://github.com/troolee/gridstack.js/issues/882)).
24+
- emit `dropped` event when a widget is dropped from one grid into another ([#823](https://github.com/gridstack/gridstack.js/issues/823)).
25+
- don't throw error if no bounding scroll element is found ([#891](https://github.com/gridstack/gridstack.js/issues/891)).
26+
- don't push locked widgets even if they are at the top of the grid ([#882](https://github.com/gridstack/gridstack.js/issues/882)).
27+
- removed lodash dependencies ([#693](https://github.com/gridstack/gridstack.js/issues/693)).
2728

2829
## v0.4.0
2930

30-
- widgets can have their own resize handles. Use `data-gs-resize-handles` element attribute to use. For example, `data-gs-resize-handles="e,w"` will make the particular widget only resize west and east. ([#494](https://github.com/troolee/gridstack.js/issues/494)).
31-
- enable sidebar items to be duplicated properly. Pass `helper: 'clone'` in `draggable` options. ([#661](https://github.com/troolee/gridstack.js/issues/661), ([#396](https://github.com/troolee/gridstack.js/issues/396), ([#499](https://github.com/troolee/gridstack.js/issues/499)).
32-
- fix `staticGrid` grid option ([#743](https://github.com/troolee/gridstack.js/issues/743))
31+
- widgets can have their own resize handles. Use `data-gs-resize-handles` element attribute to use. For example, `data-gs-resize-handles="e,w"` will make the particular widget only resize west and east. ([#494](https://github.com/gridstack/gridstack.js/issues/494)).
32+
- enable sidebar items to be duplicated properly. Pass `helper: 'clone'` in `draggable` options. ([#661](https://github.com/gridstack/gridstack.js/issues/661), ([#396](https://github.com/gridstack/gridstack.js/issues/396), ([#499](https://github.com/gridstack/gridstack.js/issues/499)).
33+
- fix `staticGrid` grid option ([#743](https://github.com/gridstack/gridstack.js/issues/743))
3334
- preserve inline styles when moving/cloning items (thanks [@silverwind](https://github.com/silverwind))
34-
- fix bug causing heights not to get set ([#744](https://github.com/troolee/gridstack.js/issues/744))
35-
- allow grid to have min-height, fixes ([#628](https://github.com/troolee/gridstack.js/issues/628)) (thanks [@adumesny](https://github.com/adumesny))
35+
- fix bug causing heights not to get set ([#744](https://github.com/gridstack/gridstack.js/issues/744))
36+
- allow grid to have min-height, fixes ([#628](https://github.com/gridstack/gridstack.js/issues/628)) (thanks [@adumesny](https://github.com/adumesny))
3637
- widget x and y are now ints (thanks [@DonnchaC](https://github.com/donnchac))
3738
- allow all droppable options (thanks [@vigor-vlad](https://github.com/vigor-vlad))
3839
- properly track mouse position in `getCellFromPixel` (thanks [@aletorrado](https://github.com/aletorrado))
3940
- remove instance of `!important` (thanks [@krilllind](https://github.com/krilllind))
40-
- scroll when moving widget up or down out of viewport ([#827](https://github.com/troolee/gridstack.js/issues/827))
41+
- scroll when moving widget up or down out of viewport ([#827](https://github.com/gridstack/gridstack.js/issues/827))
4142

4243
## v0.3.0 (2017-04-21)
4344

4445
- remove placeholder when dragging widget below grid (already worked when dragging left, above, and to the right of grid).
4546
- prevent extra checks for removing widget when dragging off grid.
4647
- trigger `added` when a widget is added via dropping from one grid to another.
4748
- trigger `removed` when a widget is removed via dropping from one grid to another.
48-
- trigger `removed` when a widget is removed via dropping on a removable zone ([#607](https://github.com/troolee/gridstack.js/issues/607) and [#550])(https://github.com/troolee/gridstack.js/issues/550)).
49-
- trigger custom event for `resizestop` called `gsresizestop` ([#577](https://github.com/troolee/gridstack.js/issues/577) and [#398](https://github.com/troolee/gridstack.js/issues/398)).
50-
- prevent dragging/resizing in `oneColumnMode` ([#593](https://github.com/troolee/gridstack.js/issues/593)).
49+
- trigger `removed` when a widget is removed via dropping on a removable zone ([#607](https://github.com/gridstack/gridstack.js/issues/607) and [#550])(https://github.com/gridstack/gridstack.js/issues/550)).
50+
- trigger custom event for `resizestop` called `gsresizestop` ([#577](https://github.com/gridstack/gridstack.js/issues/577) and [#398](https://github.com/gridstack/gridstack.js/issues/398)).
51+
- prevent dragging/resizing in `oneColumnMode` ([#593](https://github.com/gridstack/gridstack.js/issues/593)).
5152
- add `oneColumnModeClass` option to grid.
5253
- remove 768px CSS styles, moved to grid-stack-one-column-mode class.
53-
- add max-width override on grid-stck-one-column-mode ([#462](https://github.com/troolee/gridstack.js/issues/462)).
54+
- add max-width override on grid-stck-one-column-mode ([#462](https://github.com/gridstack/gridstack.js/issues/462)).
5455
- add internal function`isNodeChangedPosition`, minor optimization to move/drag.
5556
- drag'n'drop plugin system. Move jQuery UI dependencies to separate plugin file.
5657

5758
## v0.2.6 (2016-08-17)
5859

5960
- update requirements to the latest versions of jQuery (v3.1.0+) and jquery-ui (v1.12.0+).
60-
- fix jQuery `size()` ([#486](https://github.com/troolee/gridstack.js/issues/486)).
61-
- update `destroy([detachGrid])` call ([#422](https://github.com/troolee/gridstack.js/issues/422)).
62-
- don't mutate options when calling `draggable` and `resizable`. ([#505](https://github.com/troolee/gridstack.js/issues/505)).
63-
- update _notify to allow detach ([#411](https://github.com/troolee/gridstack.js/issues/411)).
64-
- fix code that checks for jquery-ui ([#481](https://github.com/troolee/gridstack.js/issues/481)).
61+
- fix jQuery `size()` ([#486](https://github.com/gridstack/gridstack.js/issues/486)).
62+
- update `destroy([detachGrid])` call ([#422](https://github.com/gridstack/gridstack.js/issues/422)).
63+
- don't mutate options when calling `draggable` and `resizable`. ([#505](https://github.com/gridstack/gridstack.js/issues/505)).
64+
- update _notify to allow detach ([#411](https://github.com/gridstack/gridstack.js/issues/411)).
65+
- fix code that checks for jquery-ui ([#481](https://github.com/gridstack/gridstack.js/issues/481)).
6566
- fix `cellWidth` calculation on empty grid
6667

6768
## v0.2.5 (2016-03-02)
@@ -78,12 +79,12 @@ Change log
7879
- `'auto'` value for `cellHeight` option
7980
- fix `setStatic` method
8081
- add `setAnimation` method to API
81-
- add `setGridWidth` method ([#227](https://github.com/troolee/gridstack.js/issues/227))
82+
- add `setGridWidth` method ([#227](https://github.com/gridstack/gridstack.js/issues/227))
8283
- add `removable`/`removeTimeout` *(experimental)*
83-
- add `detachGrid` parameter to `destroy` method ([#216](https://github.com/troolee/gridstack.js/issues/216)) (thanks @jhpedemonte)
84-
- add `useOffset` parameter to `getCellFromPixel` method ([#237](https://github.com/troolee/gridstack.js/issues/237))
85-
- add `minWidth`, `maxWidth`, `minHeight`, `maxHeight`, `id` parameters to `addWidget` ([#188](https://github.com/troolee/gridstack.js/issues/188))
86-
- add `added` and `removed` events for when a widget is added or removed, respectively. ([#54](https://github.com/troolee/gridstack.js/issues/54))
84+
- add `detachGrid` parameter to `destroy` method ([#216](https://github.com/gridstack/gridstack.js/issues/216)) (thanks @jhpedemonte)
85+
- add `useOffset` parameter to `getCellFromPixel` method ([#237](https://github.com/gridstack/gridstack.js/issues/237))
86+
- add `minWidth`, `maxWidth`, `minHeight`, `maxHeight`, `id` parameters to `addWidget` ([#188](https://github.com/gridstack/gridstack.js/issues/188))
87+
- add `added` and `removed` events for when a widget is added or removed, respectively. ([#54](https://github.com/gridstack/gridstack.js/issues/54))
8788
- add `acceptWidgets` parameter. Widgets can now be draggable between grids or from outside *(experimental)*
8889

8990
## v0.2.4 (2016-02-15)
@@ -146,4 +147,4 @@ Change log
146147

147148
## v0.1.0 (2014-11-18)
148149

149-
Very first version.
150+
Very first version.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git+https://github.com/gridstack/gridstack.js.git"
99
},
1010
"scripts": {
11-
"build": "mkdir dist && grunt && doctoc ./README.md && doctoc ./doc/README.md && doctoc ./doc/CHANGES.md",
11+
"build": "grunt && doctoc ./README.md && doctoc ./doc/README.md && doctoc ./doc/CHANGES.md",
1212
"test": "grunt lint && karma start karma.conf.js",
1313
"lint": "grunt lint",
1414
"reset": "rm -rf dist node_modules",

src/gridstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
}
306306
};
307307

308-
// For Meteor support: https://github.com/troolee/gridstack.js/pull/272
308+
// For Meteor support: https://github.com/gridstack/gridstack.js/pull/272
309309
GridStackEngine.prototype.getNodeDataByDOMEl = function(el) {
310310
return this.nodes.find(function(n) { return el.get(0) === n.el.get(0); });
311311
};
@@ -1457,7 +1457,7 @@
14571457
el = $(el);
14581458
var node = el.data('_gridstack_node');
14591459

1460-
// For Meteor support: https://github.com/troolee/gridstack.js/pull/272
1460+
// For Meteor support: https://github.com/gridstack/gridstack.js/pull/272
14611461
if (!node) {
14621462
node = this.grid.getNodeDataByDOMEl(el);
14631463
}

0 commit comments

Comments
 (0)