Commit Graph

33 Commits

Author SHA1 Message Date
Mohamed Hegazy
9d429ad18d Merge pull request #8182 from yudielcurbelo/patch-1
path function to allow (string | number)[]
2016-06-26 16:29:10 -07:00
Troy McKinnon
ffaaf5d5d5 allow importing raphael as a module 2016-03-31 19:45:21 -05:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
YUDIEL CURBELO
1cbedf37b6 Missing rotate
Adds rotation by given angle around given point to the list of transformations of the element.
2016-02-20 01:24:40 -05:00
YUDIEL CURBELO
b7973616d4 path function to allow (string | number)[]
It is totally legal to have something like this: paper.path(['M' + (startX), (startY), 'L' + (startX), (startY)]);
2016-02-20 00:57:52 -05:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
filipszu
32a17c5a78 Added properties to RaphaelFont interface 2015-12-30 21:23:14 -05:00
kashlakov
b26a3d7ce5 Update raphael.d.ts
add required parameter 'el: RaphaelElement' to RaphaelSet.insertBefore() and RaphaelSet.insertAfter()
2015-10-26 11:10:34 +09:00
kashlakov
a8f4ecb936 Update raphael.d.ts
add required parameter 'el: RaphaelElement' to insertAfter() and insertBefore() methods
2015-10-26 11:07:45 +09:00
Troels Leth Jensen
b39c82145d 'this' in context of a RaphaelSet is a RaphaelSet. 2015-04-30 13:04:49 +02:00
Yegor Alexeyev
a3d0c79e1d Changed order of method declarations for correct overloading 2015-02-15 20:18:37 +03:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
yuuki
a002a64b22 Fixed return type 2014-08-15 13:30:33 +09:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
enternet
37e590111b RaphaelPaper.forEach() returns RaphaelPaper
RaphaelPaper.forEach() returns RaphaelPaper at runtime.
2014-04-09 17:31:48 +03:00
enternet
341d0c519e RaphaelPaper.forEach()
RaphaelPaper.forEach() declaration has been fixed.
2014-04-08 14:04:43 +03:00
vvakame
16dd1ab76f Removed non-required .tscparams 2014-02-05 12:48:22 +09:00
david karapetyan
a5692df01c fix warnings when running with --noImplicitAny
There were a lot of warnings being thrown when I was compiling with --noImplicitAny option so I fixed up whatever signatures I could to get rid of the warnings.
2014-01-02 18:45:49 -08:00
Masahiro Wakame
bcaefb2b37 Merge pull request #1378 from jzarnikov/master
raphael - made types of dom-elements more specific
2013-12-05 03:56:55 -08:00
Jan Zarnikov
47b04c5985 raphael - made types of dom-elements more specific 2013-12-05 12:14:18 +01:00
Jeffery Grajkowski
798dbfbf8f Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument.  This code will still compile for 0.9.1 users.  Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
2013-11-26 10:29:46 -08:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
basarat
5031efe999 http://raphaeljs.com/reference.html#Raphael.getColor
fixed invalid typescript http://raphaeljs.com/reference.html#Raphael.getColor
2013-07-20 23:11:52 +10:00
Andrew Davey
1a2fced0c6 Re-add getColor.reset()
This is compatible with TypeScript 0.9.
2013-07-01 10:12:54 +01:00
Gleb Zevkov
7da1281dd0 Removed uncompilable function definition 2013-06-20 13:49:22 +02:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +02:00
Boris Yankov
9e621707ac Fix typo in Raphael definitions. RraphaelSet to RaphaelSet 2012-12-31 08:37:22 +02:00
Karlkim Suwanmongkol
040d43ad88 Fix [key: any] issue in raphael-2.1.d.ts
This is similar to old jquery definition issue mentioned in
http://stackoverflow.com/questions/13630578/why-does-the-jquery-d-ts-typescript-definition-file-throw-a-compile-error

We should update Raphael definition as well.
2012-12-22 01:06:45 -06:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00