Commit Graph
18 Commits
Author SHA1 Message Date
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