Incorrect number type for autofocus option, should be boolean.

This commit is contained in:
mihailik
2013-06-26 00:16:05 +02:00
parent cc2c2c5075
commit c72caf82d2
+1 -1
View File
@@ -679,7 +679,7 @@ declare module CodeMirror {
/** Can be used to make CodeMirror focus itself on initialization. Defaults to off.
When fromTextArea is used, and no explicit value is given for this option, it will be set to true when either the source textarea is focused,
or it has an autofocus attribute and no other element is focused. */
autofocus?: number;
autofocus?: boolean;
/** Controls whether drag-and - drop is enabled. On by default. */
dragDrop?: boolean;