Skip to content

Commit

Permalink
Merge pull request #1350 from adumesny/typescript
Browse files Browse the repository at this point in the history
TS: rev 2.0.0
  • Loading branch information
adumesny authored Sep 8, 2020
2 parents 054b3dc + 876de7d commit 4394528
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ alternatively in html
or using CDN (minimized):

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]-rc2/dist/gridstack.min.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]-rc2/dist/gridstack.all.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gridstack.min.css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gridstack.all.js"></script>
```

.map files are included for debugging purposes.
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": "gridstack",
"version": "2.0.0-rc3",
"version": "2.0.0",
"description": "TypeScript/Javascript lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Ember, knockout...)",
"main": "./dist/gridstack.js",
"types": "./dist/gridstack.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack-dd.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// gridstack-dd.ts 2.0.0-rc2 @preserve
// gridstack-dd.ts 2.0.0 @preserve

/**
* https://gridstackjs.com/
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack-engine.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// gridstack-engine.ts 2.0.0-rc2 @preserve
// gridstack-engine.ts 2.0.0 @preserve

/**
* https://gridstackjs.com/
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack-extra.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* gridstack 2.0.0-rc2 extra CSS for [2-11] columns (non default)
* gridstack 2.0.0 extra CSS for [2-11] columns (non default)
* https://gridstackjs.com/
* (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov
* gridstack.js may be freely distributed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack-poly.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// gridstack-poly.js 2.0.0-rc2 @preserve
// gridstack-poly.js 2.0.0 @preserve

/** IE and older browsers Polyfills for this library
* https://gridstackjs.com/
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* required gridstack 2.0.0-rc2 CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others
* required gridstack 2.0.0 CSS for default 12 and 1 columnMode size. Use gridstack-extra.css for others
* https://gridstackjs.com/
* (c) 2014-2020 Alain Dumesny, Dylan Weiss, Pavel Reznikov
* gridstack.js may be freely distributed under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion src/gridstack.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// gridstack.ts 2.0.0-rc2 @preserve
// gridstack.ts 2.0.0 @preserve

/**
* https://gridstackjs.com/
Expand Down
2 changes: 1 addition & 1 deletion src/jq/gridstack-dd-jqueryui.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// gridstack-dd-jqueryui.ts 2.0.0-rc2 @preserve
// gridstack-dd-jqueryui.ts 2.0.0 @preserve

/** JQuery UI Drag&Drop plugin
* https://gridstackjs.com/
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// types.ts 2.0.0-rc2 @preserve
// types.ts 2.0.0 @preserve

/**
* https://gridstackjs.com/
Expand Down Expand Up @@ -235,10 +235,10 @@ export interface DDDragOpt {
containment?: string;
}
export interface DDDragInOpt extends DDDragOpt {
/** used when draging item from the outside, and canceling (ex: 'invalid')*/
revert?: string;
/** helper function when dropping (ex: 'clone') */
helper?: string;
/** used when dragging item from the outside, and canceling (ex: 'invalid' or your own method)*/
revert?: string | ((event: Event) => HTMLElement);
/** helper function when dropping (ex: 'clone' or your own method) */
helper?: string | ((event: Event) => HTMLElement);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// utils.ts 2.0.0-rc2 @preserve
// utils.ts 2.0.0 @preserve

/**
* https://gridstackjs.com/
Expand Down

0 comments on commit 4394528

Please sign in to comment.