From f94e442469deca30b39f3fa08aade83cbd0ede70 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 16 Dec 2011 13:38:59 -0500
Subject: [PATCH] Add more classes and options to HTML elements for better styleability

---
 program/js/googiespell.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 7f46568..96d612c 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -1,6 +1,8 @@
 /*
  SpellCheck
     jQuery'fied spell checker based on GoogieSpell 4.0
+      (which was published under GPL "version 2 or any later version")
+
  Copyright (C) 2006 Amir Salihefendic
  Copyright (C) 2009 Aleksander Machniak
  Copyright (C) 2011 Kolab Systems AG
@@ -167,9 +169,9 @@
     this.extra_menu_items.push([name, call_back_fn, checker]);
 };
 
-this.appendCustomMenuBuilder = function(eval, builder)
+this.appendCustomMenuBuilder = function(eval_fn, builder)
 {
-    this.custom_menu_builder.push([eval, builder]);
+    this.custom_menu_builder.push([eval_fn, builder]);
 };
 
 this.setFocus = function()
@@ -462,7 +464,7 @@
     var changed = false;
     for (var k=0; k<this.custom_menu_builder.length; k++) {
         var eb = this.custom_menu_builder[k];
-        if(eb[0]((this.results[id]))){
+        if (eb[0](this.results[id])) {
             changed = eb[1](this, list, elm);
             break;
         }

--
Gitblit v1.9.1