Commit Graph

30 Commits

Author SHA1 Message Date
Jean-Philippe HAUTIN
6dc5684fc8 add posibility to create a date with no parameters ( 'now' ) 2016-07-04 18:29:59 +02:00
Jean-Philippe HAUTIN
d63782563f update to use static methods.
add missing Date.create(number)
2016-07-04 18:01:59 +02:00
Leonid Suprun
cd61385a5d sugarjs: DateRange update (#9243) 2016-05-09 17:32:18 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
fberthel
d545c619d6 update sugar.d.ts
improve signature for Object.extended() following the example in method description
2016-02-10 13:48:33 +01:00
Tim Dumol
9b46da2218 Add sum() to sugar.d.ts.
The nullary version of sum() was missing in sugar.d.ts (ony the unary
version was present).
2014-10-29 20:07:27 +08:00
vvakame
2df6fc7078 fix sugar/sugar.d.ts 2014-02-26 17:45:18 +09:00
Michel Salib
68ebedc9b7 Add more flexibility sugar.js calls
Add some optional parameters ad return types.
2014-02-14 15:42:11 +01:00
KhodeN
dd45f9a194 Update sugar.d.ts
update Array.min, Array.max and Array.most methods.
They could be called without arguments at all (Argument 'map' is optional).
2014-01-27 20:56:50 +11:00
Bart van der Schoor
5263434c20 added/fixed few headers
https://github.com/borisyankov/DefinitelyTyped/issues/1570

cleaned up some more, mostly urls and typos
2014-01-25 01:08:33 +01:00
Bartvds
1c1a37c1e4 removed utf-8 BOM marker
for consistency
2014-01-24 18:51:21 +01:00
KhodeN
1715dcbb20 Update sugar.d.ts. Fix Array.groupBy method
fn? - iteration function over result object.
It has 3 arguments: groupKey, groupItems, resultObject

key in result object always is string
2014-01-24 17:39:45 +11:00
Bartvds
709a0363a0 added/fixed headers o-s
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:56:27 +01:00
KhodeN
b0aa332627 Update sugar.d.ts
argument 'all' is optional for `String.capitalize`
2013-12-29 17:22:54 +11:00
Diullei Gomes
75db15e978 Merge pull request #1202 from KhodeN/patch-2
Update sugar.d.ts: fix 'short', 'long', 'full' methods of Date
2013-11-10 21:09:09 -08:00
KhodeN
e7c8563bed Update sugar.d.ts: fix 'short', 'long', 'full' methods of Date
Those methods support optional locale argument.
2013-10-30 17:33:55 +11:00
KhodeN
f8ef519140 Update sugar.d.ts
Fix Array.subtract
2013-10-30 17:07:53 +11:00
gstamac
cb822a64a3 Sugar: commented out some code that produced "RangeError: Maximum call stack size exceeded" (TSC bug) 2013-08-23 20:07:45 +02:00
gstamac
d04613e640 Sugar: bool changed to boolean 2013-08-23 19:37:03 +02:00
jbaldwin
6577db67c7 Fixed issues from pull request on DefinitelyTyped
Removed sugar-tests.ts, it has an encoding problem that I need to fix (
uses non-ascii characters and the TS compiler chokes on them)
2013-08-20 20:40:12 -06:00
jbaldwin
f6c5a200e5 Upgraded jbaldwin projs to 0.9.1.0 2013-08-19 16:19:56 -06:00
Boris Yankov
12f71331b1 Fix sugar definitions 2013-08-07 19:09:22 +03:00
Boris Yankov
f677cca98d Multiple bool => boolean fixes 2013-08-07 18:02:05 +03:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Duncan Brown
a9cb852749 Generic Arrays
Generic types now flow through array methods.
Removed definitions for indexOf, lastIndexOf, reduce & reduceRight as
lib.d.ts already defines them and sugar does not add anything.
Added tests for arrays.
Fixed encoding in tests.
2013-08-05 21:06:59 +01:00
Diullei Gomes
a2e14594b0 sugar.d.ts tests fixed. 2013-02-28 21:32:03 -03:00
jbaldwin
ffb04dec5b Renamed sugar-tests, added underscore-typed-tests 2013-02-25 20:32:31 -07:00
jbaldwin
38536b09d5 Updated box2d, underscore, sugar
box2dweb-2.1.d.ts -> JSDoc
sugar-1.3.9.d.ts -> JSDoc (in progress)
sugar-test.ts (added)
underscore-typed.d.ts (1.4.4, JSDoc)
underscore-typed-1.4.3.d.ts (JSDoc)
underscore-typed-1.4.2.d.ts (JSDoc)
2013-02-24 23:35:23 -07:00
Boris Yankov
c98eebb137 Rename all definition files, remove versions 2013-01-17 17:17:27 +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