CKEDITOR.plugins.load second argument now is function and third is optional

This commit is contained in:
Aliaksei Kharchykau
2016-03-02 10:50:12 +03:00
parent 4ba57e605b
commit 912068a2f8

View File

@@ -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;
}
}
}