mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
CKEDITOR.plugins.load second argument now is function and third is optional
This commit is contained in:
8
ckeditor/ckeditor.d.ts
vendored
8
ckeditor/ckeditor.d.ts
vendored
@@ -167,7 +167,7 @@ declare module CKEDITOR {
|
||||
// Properties
|
||||
type: number;
|
||||
|
||||
// Methods
|
||||
// Methods
|
||||
constructor(element: string, ownerDocument?: document);
|
||||
constructor(element: HTMLElement, ownerDocument?: document);
|
||||
addClass(className: string): void;
|
||||
@@ -1024,7 +1024,7 @@ declare module CKEDITOR {
|
||||
function get(name: string): any;
|
||||
function getFilePath(name: string): string;
|
||||
function getPath(name: string): string;
|
||||
function load(name: string, callback: string, scope: any): void;
|
||||
function load(name: string, callback: Function, scope?: Object): void;
|
||||
function setLang(pluginName: string, languageCode: string, languageEntries: any): void;
|
||||
|
||||
}
|
||||
@@ -1460,7 +1460,7 @@ declare module CKEDITOR {
|
||||
show(): void;
|
||||
showPage(id: string): void;
|
||||
updateStyle(): void;
|
||||
|
||||
|
||||
// NOTE: Static methods are added to dialog module
|
||||
}
|
||||
|
||||
@@ -1771,4 +1771,4 @@ declare module CKEDITOR {
|
||||
function load(languageCode: string, defaultLanguage: string, callback: Function): void;
|
||||
function detect(defaultLanguage: string, probeLanguage: string): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user