Skip to content

Commit

Permalink
fix on options objects take only properties that matter
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuzuld committed Apr 11, 2017
1 parent b903e76 commit c7b5d68
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 24 deletions.
2 changes: 1 addition & 1 deletion dist/gridster.component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export declare class GridsterComponent implements OnInit, OnDestroy {
calculateLayout(): void;
addItem(item: GridsterItem): void;
removeItem(item: GridsterItem): void;
checkCollision(item: GridsterItem): GridsterItem;
checkCollision(item: GridsterItem): GridsterItem | boolean;
findItemWithItem(item: GridsterItem): GridsterItem;
autoPositionItem(item: GridsterItem): void;
pixelsToPosition(x: number, y: number, roundingMethod: Function): [number, number];
Expand Down
8 changes: 4 additions & 4 deletions dist/gridster.component.js

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

2 changes: 1 addition & 1 deletion dist/gridster.component.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/gridsterConfig.interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface GridsterConfig {
draggable?: Draggable;
resizable?: Resizable;
swap?: boolean;
[propName: string]: any;
}
export interface Draggable {
enabled?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion dist/gridsterItem.component.js

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

2 changes: 1 addition & 1 deletion dist/gridsterItem.component.js.map

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

1 change: 1 addition & 0 deletions dist/gridsterItem.interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export interface GridsterItem {
minItemCols?: number;
drag?: GridsterDraggable;
resize?: GridsterResizable;
[propName: string]: any;
}
2 changes: 1 addition & 1 deletion dist/gridsterUtils.service.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare class GridsterUtils {
static merge(obj1: any, obj2: any): any;
static merge(obj1: any, obj2: any, properties: any): any;
static debounce(func: any, wait: any): () => void;
}
6 changes: 3 additions & 3 deletions dist/gridsterUtils.service.js

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

2 changes: 1 addition & 1 deletion dist/gridsterUtils.service.js.map

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-gridster2",
"version": "2.7.3",
"version": "2.7.4",
"license": "MIT",
"main": "dist/index.js",
"jsnext:main": "dist/index.js",
Expand Down Expand Up @@ -83,7 +83,7 @@
"ts-helpers": "1.1.2",
"ts-node": "3.0.2",
"tslib": "1.6.0",
"tslint": "5.0.0",
"tslint": "5.1.0",
"typescript": "2.2.2",
"zone.js": "0.8.5"
}
Expand Down
Loading

0 comments on commit c7b5d68

Please sign in to comment.