Commit graph

37 commits

Author SHA1 Message Date
monagames
12397377ab Fixes for typescript declarations with system.js 2016-05-21 20:22:40 +02:00
photonstorm
9f28d0659d Phaser 2.4.8 release. 2016-05-19 12:36:51 +01:00
Richard Davey
88977e4609 Merge pull request #2444 from staff0rd/typescript_SaveCPU_Plugin
added type definintions for SaveCPU plugin
2016-04-28 00:05:31 +01:00
Stafford Williams
0628870540 fix type 2016-04-23 12:33:12 +10:00
Stafford Williams
c3bc464b1c added type definintions for SaveCPU plugin 2016-04-23 12:13:30 +10:00
photonstorm
a29cc64932 Phaser 2.4.7 Final. 2016-04-22 15:15:28 +01:00
photonstorm
47123c192d 2.4.6 Build files + docs + TS Docs. 2016-02-18 14:41:53 +00:00
Stafford Williams
b904efeb4f allow state to be passed to constructor 2016-02-02 13:47:21 +11:00
Stafford Williams
02c0f27d64 fixed getter 2016-02-02 13:26:47 +11:00
Stafford Williams
4a0aaa8914 added RandomDataGenerator.state() typescript definitions 2016-02-02 13:21:45 +11:00
Richard Davey
a1d9d0bb95 Merge pull request #2198 from vulvulune/dev
Force the usage of typescript 1.4.1
2016-02-01 19:03:47 +02:00
Richard Davey
c1169b35d4 Merge pull request #2252 from milkey-mouse/fix-blendmode-tsdefs
Fix issue #2188: BitmapData.copy() blendMode type from number to string in TS defs
2016-02-01 18:47:01 +02:00
zimpy
13ffb7d1ce Typescript definitions - fixed return types on some functions of Arcade.Body 2016-01-15 19:30:29 +01:00
Milkey Mouse
df48e37658 Fix issue #2188: blendMode type from number to string
This fixes a minor TS definitions bug (issue #2188) where the blendMode
of BitmapData.copy, .copyRect, .draw, and .drawGroup all had the number
type instead of string.
2015-12-10 20:40:50 -08:00
vulvulune
02a56316c3 Force the usage of typescript 1.4.1
Force the usage of typescript 1.4.1 because with higher versions the
generation of commented files failed. Refresh comments.d.ts files.
2015-11-09 09:53:34 +01:00
Richard Davey
d6ae99544b Merge pull request #2042 from cloakedninjas/dev
Fixing typos in transformCallbackContext
2015-08-31 13:15:05 +03:00
Richard Davey
f46e6e3778 Merge pull request #2043 from Garbanas/feature/typescript-definitions
Updated typescript definitions for Phaser 2.4.3
2015-08-31 13:14:32 +03:00
Christoph Dörfel
2623ddeaf7 Convenience function to remove a collision group from a P2 Body 2015-08-30 00:19:37 +02:00
Christoph Dörfel
c30b993cb9 Add some changes from phaser.comments.d.ts back to phaser.d.ts 2015-08-29 23:08:07 +02:00
Christoph Dörfel
ab6feb3ebc Fix CachedImage interface definition 2015-08-29 22:52:53 +02:00
Christoph Dörfel
2796a9db48 Updated typescript definitions for Phaser 2.4.3 2015-08-28 15:09:41 +02:00
cloakedninjas
efd6a5e152 Fixing typos in transformCallbackContext 2015-08-28 10:10:29 +01:00
timotei
5ec7d7e4c9 Fix TypeScript addKeys declaration
Since we expect an object that's `any`
instead of an array `any[]`
2015-08-27 11:21:57 +03:00
cloakedninjas
6d9240b176 Adding missing event handlers in Typescript definitions 2015-08-11 15:56:56 +01:00
vrecluse
f68f25afb2 Fix mismatched typescript member function signature of Phaser.Point.rotate. 2015-07-30 10:59:42 +08:00
photonstorm
4b22f48c75 2.4.2 release. 2015-07-29 15:01:04 +01:00
photonstorm
9401755ab9 Phaser 2.4.1 docs. 2015-07-24 13:30:46 +01:00
photonstorm
858ad51610 Phaser 2.4 release. 2015-07-22 15:31:30 +01:00
Igor Ovsiannikov
207cea6e14 fix(typescript): fix Matrix.fromArray definition
Added explicity `void` return type for Matrix.fromArray.
Reason: it has similar function type in pixi.d.ts, and it caused
troubles when using typescript compiler with `--noImplicitAny` flag.
2015-04-13 23:11:43 +03:00
Ian Suda
0d4bce2101 Fix some errors in the definitions files for Phaser.Group 2015-04-01 15:35:08 -07:00
photonstorm
f23ab1f3a9 TypeScript defs with comments update. 2015-03-26 02:59:11 +00:00
vulvulune
b8665f2979 Refactoring of the script to generate comments.d.ts
Refactoring of the script to generate comments.d.ts files.
Using typescript package instead of typescript-services (not maintened
anymore)

Update of the phaser.comments.d.ts with the last dev version.
2015-02-05 21:30:28 +01:00
vulvulune
0c8b5f447f Improve d.ts comments generation
Add trimright in the comments, because there are a lot of comments with
useless whitespaces.
2015-01-21 12:05:35 +01:00
vulvulune
6c7da59565 Improve d.ts comments generation
Remove empty @returns.
2015-01-21 11:54:16 +01:00
vulvulune
af1345c39e Improve d.ts comments generation
-Improve the script to clean the different kinds of end of line
-Improve the alignement with @return multiline comments
-Add a jsdoc plugin to convert the class name of p2.js file, like this
the comments for the p2 classes are now included in the d.ts files.
2015-01-21 11:42:56 +01:00
vulvulune
a5fde63486 Improve d.ts comments generation
- Remove " - " after @param paramname, and @return because it is
useless.
- Improve alignement of multiline param comments.
2015-01-21 08:50:14 +01:00
vulvulune
df6b946ceb Add grunt task to generate d.ts with comments
Add "tsdocs" grunt task to generate d.ts files with comments.
2015-01-20 17:18:56 +01:00