From 912068a2f8aa55468297caa062419c6ccbd1f11b Mon Sep 17 00:00:00 2001 From: Aliaksei Kharchykau Date: Wed, 2 Mar 2016 10:50:12 +0300 Subject: [PATCH] CKEDITOR.plugins.load second argument now is function and third is optional --- ckeditor/ckeditor.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ckeditor/ckeditor.d.ts b/ckeditor/ckeditor.d.ts index ac036be5d6..9daf3812ea 100644 --- a/ckeditor/ckeditor.d.ts +++ b/ckeditor/ckeditor.d.ts @@ -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; } -} \ No newline at end of file +}