From b578abb9f94fa1d7dc8ce2ee94e35fa074d51ce4 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 19 Sep 2011 02:43:57 -0400
Subject: [PATCH] - Applied fixes from trunk up to r5232

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

diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 18ed6a2..de8890f 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -155,8 +155,8 @@
     this.extra_menu_items.push([name, call_back_fn, checker]);
 };
 
-this.appendCustomMenuBuilder = function(eval, builder) {
-    this.custom_menu_builder.push([eval, builder]);
+this.appendCustomMenuBuilder = function(eval_fn, builder) {
+    this.custom_menu_builder.push([eval_fn, builder]);
 };
 
 this.setFocus = function() {
@@ -409,7 +409,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