Skip to content

Commit

Permalink
build 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shakiba committed Mar 13, 2024
1 parent 4fc3e03 commit 2b0dd3d
Show file tree
Hide file tree
Showing 20 changed files with 2,265 additions and 2,093 deletions.
1,366 changes: 698 additions & 668 deletions dist/planck-with-testbed.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck-with-testbed.d.ts.map

Large diffs are not rendered by default.

394 changes: 212 additions & 182 deletions dist/planck-with-testbed.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck-with-testbed.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/planck-with-testbed.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck-with-testbed.min.js.map

Large diffs are not rendered by default.

394 changes: 212 additions & 182 deletions dist/planck-with-testbed.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck-with-testbed.mjs.map

Large diffs are not rendered by default.

1,366 changes: 698 additions & 668 deletions dist/planck.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck.d.ts.map

Large diffs are not rendered by default.

400 changes: 215 additions & 185 deletions dist/planck.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/planck.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck.min.js.map

Large diffs are not rendered by default.

400 changes: 215 additions & 185 deletions dist/planck.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/planck.mjs.map

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions docs/api/classes/pulleyjoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ length.

### Methods

* [_serialize](pulleyjoint.md#_serialize)
* [getAnchorA](pulleyjoint.md#getanchora)
* [getAnchorB](pulleyjoint.md#getanchorb)
* [getBodyA](pulleyjoint.md#getbodya)
Expand Down Expand Up @@ -109,14 +108,6 @@ ___

## Methods

### _serialize

**_serialize**(): *object*

**Returns:** *object*

___

### getAnchorA

**getAnchorA**(): *Vec2*
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": "planck",
"version": "1.0.1",
"version": "1.0.2",
"description": "2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development",
"homepage": "https://github.com/piqnt/planck.js",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions src/dynamics/joint/PulleyJoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export class PulleyJoint extends Joint {
// cross(r2, u2)^2)
}

/** @internal */
_serialize(): object {
return {
type: this.m_type,
Expand Down
2 changes: 1 addition & 1 deletion src/serializer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type DeserializeChildCallback = (classHint: any, obj: any, context: any) => any;
type ClassDeserializerMethod = (data: any, context: any, deserialize: DeserializeChildCallback) => any;

export class Serializer<T> {
options: SerializerOptions;
private options: SerializerOptions;
constructor(options: SerializerOptions) {
this.options = {
...DEFAULT_OPTIONS,
Expand Down

0 comments on commit 2b0dd3d

Please sign in to comment.