Commit Graph

35 Commits

Author SHA1 Message Date
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Poul Kjeldager Sørensen
853544cb70 Removed requirejs.d.ts double definition of bundles. 2015-10-24 14:57:36 +02:00
Masahiro Wakame
d4c83f1c8d Merge pull request #5798 from alvarorahul/master
Add bundles, skipDataMain and onNodeCreated
2015-10-21 22:41:57 +09:00
Lionel Besson
0d39cb0d41 Add bundles configuration item
bundles option was added in 2.1.10 c3d5f33a6a
2015-10-08 19:46:15 +02:00
Jesse Schalken
0fc180b15b Fix typo 2015-09-16 11:23:39 +10:00
Alvaro Dias
6a02cedcf0 Add bundles, skipDataMain and onNodeCreated 2015-09-13 04:59:58 -07:00
Kenneth G. Franqueiro
7c374bf1e5 Fix whitespace in requirejs typings/tests 2015-06-14 11:40:06 -04:00
Kenneth G. Franqueiro
9b073d0f81 Fix #4620: Add module declaration for 'module' magic module 2015-06-14 01:22:13 -04:00
Sergey Zarouski
90240e975b Add comments for define.amd property
Add comments for define.amd property
2014-07-02 23:05:31 -04:00
Sergey Zarouski
08620066d4 Add amd property to define
Add static amd property to define function.
2014-07-02 22:20:58 -04:00
Paweł Stroiński
74781f59c5 Add defined and specified 2014-05-30 19:11:11 +01:00
Paweł Stroiński
74ba04beb3 Add dependency-less define overload 2014-04-03 00:32:35 +01:00
Michael Cox
d410565fe1 Add RequireJS 'errback' signature 2014-01-27 10:35:57 +00:00
Bartvds
709a0363a0 added/fixed headers o-s
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:56:27 +01:00
Igor Oleinikov
4070ed0e79 requirejs: fixed test 2013-12-19 19:46:26 +04:00
Brett Postin
bb1fbec552 Update to resolve issue #1434
Alternative fix as suggested here:

https://github.com/borisyankov/DefinitelyTyped/pull/1435
2013-12-13 10:11:18 +00:00
Derek Cicerone
fe4b190435 Fix future bug in require.d.ts
Callbacks need to use 'Function' if the arguments to it aren't known ahead of time - see discussion here: https://typescript.codeplex.com/discussions/462819
2013-10-24 19:10:25 -04:00
Tiddo Langerak
a14182b018 Added support for the CommonJS require call 2013-10-15 07:37:49 +02:00
Tiddo Langerak
0df63c1ab3 Requirejs should also accepts an array for path values.
According to https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0#wiki-pathsfallbacks requirejs also accepts arrays as path values. Therefore, the type of path values is changed from string to any.
2013-10-14 14:46:58 +02:00
Maxime LUCE
58fd5b0188 Append global var requirejs 2013-09-06 19:39:31 +02:00
jbaldwin
7f6a9c0184 Updated onError in require.d.ts 2013-08-24 16:25:57 -06: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
basarat
d9ffc0a135 bool -> boolean 2013-08-07 10:02:12 +10:00
Diullei Gomes
680f2fa69b Bug fix - #764 'require.config(...)' should return type 'Require' 2013-07-11 20:33:29 -03:00
bczengel
9c881d8f6f Added "amd" property definition to RequireDefine 2013-05-08 17:23:42 -04:00
Diullei Gomes
6fb8560a58 resolved conflicts to pullrequest #442 2013-04-03 08:53:04 -03:00
Michael Miller
e5810509e7 Make require.js variable declarations ambient. 2013-02-12 19:26:31 -05: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
David Driscoll
667699abc2 Updated RequireJS def to handle error callbacks
Updated RequireJS definition to support error callbacks.
In addition it exposes a RequireError interface, with the potential values of the param passed to the error callback.
Also added overload for require(module : string), so that require can potentially be used inline mod.
2012-12-30 12:32:12 -07:00
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
51170ff0d7 Add readme for requre.js 2012-11-18 23:18:21 +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