summaryrefslogtreecommitdiff
path: root/public/javascripts/tiny_mce/plugins/iespell
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/iespell')
-rw-r--r--public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js1
-rw-r--r--public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js51
2 files changed, 0 insertions, 52 deletions
diff --git a/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js b/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js
deleted file mode 100644
index e9cba10..0000000
--- a/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js
+++ /dev/null
@@ -1 +0,0 @@
1(function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})(); \ No newline at end of file
diff --git a/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js b/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js
deleted file mode 100644
index a68f69a..0000000
--- a/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js
+++ /dev/null
@@ -1,51 +0,0 @@
1/**
2 * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
3 *
4 * @author Moxiecode
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
6 */
7
8(function() {
9 tinymce.create('tinymce.plugins.IESpell', {
10 init : function(ed, url) {
11 var t = this, sp;
12
13 if (!tinymce.isIE)
14 return;
15
16 t.editor = ed;
17
18 // Register commands
19 ed.addCommand('mceIESpell', function() {
20 try {
21 sp = new ActiveXObject("ieSpell.ieSpellExtension");
22 sp.CheckDocumentNode(ed.getDoc().documentElement);
23 } catch (e) {
24 if (e.number == -2146827859) {
25 ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) {
26 if (s)
27 window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
28 });
29 } else
30 ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number);
31 }
32 });
33
34 // Register buttons
35 ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'});
36 },
37
38 getInfo : function() {
39 return {
40 longname : 'IESpell (IE Only)',
41 author : 'Moxiecode Systems AB',
42 authorurl : 'http://tinymce.moxiecode.com',
43 infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell',
44 version : tinymce.majorVersion + "." + tinymce.minorVersion
45 };
46 }
47 });
48
49 // Register plugin
50 tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell);
51})(); \ No newline at end of file