JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-4.0_full
[ckeditor.git] / _source / plugins / a11yhelp / plugin.js
diff --git a/_source/plugins/a11yhelp/plugin.js b/_source/plugins/a11yhelp/plugin.js
deleted file mode 100644 (file)
index e825f86..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-/**\r
- * @fileOverview Plugin definition for the a11yhelp, which provides a dialog\r
- * with accessibility related help.\r
- */\r
-\r
-(function()\r
-{\r
-       var pluginName = 'a11yhelp',\r
-               commandName = 'a11yHelp';\r
-\r
-       CKEDITOR.plugins.add( pluginName,\r
-       {\r
-               requires: [ 'dialog' ],\r
-\r
-               // List of available localizations.\r
-               availableLangs : { cs:1, cy:1, da:1, de:1, el:1, en:1, eo:1, fa:1, fi:1, fr:1, gu:1, he:1, it:1, ku:1, mk:1, nb:1, nl:1, no:1, 'pt-br':1, ro:1, tr:1, ug:1, vi:1, 'zh-cn':1 },\r
-\r
-               init : function( editor )\r
-               {\r
-                       var plugin = this;\r
-                       editor.addCommand( commandName,\r
-                               {\r
-                                       exec : function()\r
-                                       {\r
-                                               var langCode = editor.langCode;\r
-                                               langCode = plugin.availableLangs[ langCode ] ? langCode : 'en';\r
-\r
-                                               CKEDITOR.scriptLoader.load(\r
-                                                               CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ),\r
-                                                               function()\r
-                                                               {\r
-                                                                       CKEDITOR.tools.extend( editor.lang, plugin.langEntries[ langCode ] );\r
-                                                                       editor.openDialog( commandName );\r
-                                                               });\r
-                                       },\r
-                                       modes : { wysiwyg:1, source:1 },\r
-                                       readOnly : 1,\r
-                                       canUndo : false\r
-                               });\r
-\r
-                       CKEDITOR.dialog.add( commandName, this.path + 'dialogs/a11yhelp.js' );\r
-               }\r
-       });\r
-})();\r