Commit Graph

8 Commits

Author SHA1 Message Date
mihailik
c72caf82d2 Incorrect number type for autofocus option, should be boolean. 2013-06-26 00:16:05 +02:00
mihailik
d537ae6279 Just a couple more tests, nowhere near of acceptable amount. 2013-06-25 02:05:45 +02:00
mihailik
4d3992f9d2 Updated using features in TypeScript v0.9
Previously the module name couldn't match the global function name, so we had to declare module 'CM' and function CodeMirror.

Now that TS can handle the naming clash correctly, we will go to the naming convention from CodeMirror docs.

Additionally, that allows using constructor for CodeMirror.Doc. Previously because of naming CM.Doc that wouldn't work.

Note that CodeMirror itself is not declared as a class, even though their actual implementation does allow 'newing' it internally. However, that is not advertised in the docs, so we assume it is a quirk for some edge case compatibility and leaving it out of the API declarations here.
2013-06-25 02:02:29 +02:00
mihailik
27ff79c5b3 Completely redone the typings from the docs.
Using 0.9 (generics and override by string literal).
2013-04-24 02:27:21 +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
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