Commit Graph

95 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
Andy
3d6a15ee16 Strip BOM from all files (#13735) 2017-01-04 12:07:53 -08:00
Andy Hanson
2e869dbdc0 Merge branch 'types-2.0' into merge_28dec 2016-12-28 12:38:06 -08:00
Brendan Forster
30528a61d9 added the documented lineAtHeight function (#13287) 2016-12-25 05:05:55 +09:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Markus Olsson
9915ddd2f6 Add a test case for renderLine 2016-11-08 08:45:53 -08:00
Brendan Forster
4bb4da0393 line argument is an object, not a primitive (#12393) 2016-11-09 00:12:49 +09:00
zhengbli
5a5ababe92 Merge remote-tracking branch 'origin/master' into zhengbli_merge 2016-10-24 22:48:38 -07:00
rasmusvhansen
03b3450d08 CodeMirror: To Parameter is optional in replaceRange (#12035) 2016-10-19 21:18:46 +09:00
Ryan Cavanaugh
e94e9a8630 Merge commit 'upstream/master~450' into merge_7_25 2016-07-26 13:40:56 -07:00
Ryan Cavanaugh
ede3f0a99c Merge commit 'upstream/master~550' into merge_7_25 2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
velveret
0eb97d8034 Add typings for react-codemirror (#9658) 2016-06-19 11:16:21 +09:00
Ben Jones
3d25450749 Fixed codemirror gutterMarkers. Was gutterMarks, should have been gutterMarkers. (#9557) 2016-06-08 15:37:37 +09:00
styu
ddc412f754 Add MergeView typings to CodeMirror (#9344)
* Add MergeView typings to CodemMirror

* Move MergeView definitions to new namespace and removed unnecessary callback interfaces
2016-05-21 08:22:26 -07:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Paul Chen
eef739049c Add strongly typed overload to CodeMirror.defineMode (#9025) 2016-04-23 16:43:21 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Basarat Ali Syed
441b647ef7 Merge pull request #7191 from Joev-/master
Add definitions for CodeMirror's runmode addon
2016-03-14 08:40:39 +11:00
markwongsk
3937faa811 Fixed spelling error. 2016-03-04 09:13:01 -08:00
Mark Wong Siang Kai
2e46d83d9f Added CM.registerHelper definition.
-- This is defined in the base library and
   used by a lot of addons.
-- Also fixed position constructor definition, as
   given by codemirror docs:

   CodeMirror.Pos(line: integer, ?ch: integer)
   * A constructor for the {line, ch} objects that are
   * used to represent positions in editor documents.
2016-03-03 20:47:15 -08:00
Lukas Sembera
ec01eef9f1 Add getValue/setValue to CodeMirror.Editor 2016-02-23 00:05:24 +01:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Masahiro Wakame
773f159f3e Merge pull request #7559 from RaduW/master
fixed CodeMirror.TextMarker.find() return type
2016-01-22 18:10:20 +09:00
Radu Woinaroski
3a35d23702 fixed CodeMirror.TextMarker.find() return type
Added CodeMirror.Range type
Changed CodeMirror.TextMarker.find() to return CodeMirror.Range instead
of CodeMirror.Position (which was wrong).
2016-01-10 21:32:56 +01:00
Joseph Vaughan
38223f88db Improve types for CodeMirror's runmode addon 2015-12-21 13:59:31 +00:00
Joseph Vaughan
8b7eef80b3 Add definitions for CodeMirror's runmode addon 2015-12-14 13:54:03 +00:00
Sixin Li
ced9f3bb50 move state from codemirror-showhint.d.ts to codemirror.d.ts 2015-11-11 23:52:19 -05:00
Sixin Li
a029b45c6d state properties belongs to CodeMirror.Editor, not CodeMorrir.Doc 2015-11-05 15:54:34 -05:00
Masahiro Wakame
9e8a2f44ef Merge pull request #5961 from sixinli/codemirror_scroll
add missing scrollIntoView() typings
2015-10-05 22:44:49 +09:00
Masahiro Wakame
ad1da45ec6 Merge pull request #5966 from sixinli/codemirror_matchbrackets
add configuration typing for matchBrackets addon
2015-09-27 12:39:05 +09:00
Masahiro Wakame
f8ab8722bc Merge pull request #5578 from CalvinFernandez/codemirror-placeholder
add placholder parameter to work with codemirror placeholder addon
2015-09-27 11:27:47 +09:00
Sixin Li
6268433bd9 add configuration typing for matchBrackets addon 2015-09-23 03:03:15 -04:00
Sixin Li
3a68c5be79 add missing scrollIntoView() typings 2015-09-22 21:44:24 -04:00
Masahiro Wakame
8ba1ce7c72 Merge pull request #5762 from jacqt/search-cursor
Add typings for CodeMirror's searchcursor add-on
2015-09-16 22:23:58 +09:00