alecpl
2011-02-01 ef4f591a1d6c348d6236f39a061071457ec192e4
program/js/googiespell.js
@@ -91,7 +91,7 @@
this.decorateTextarea = function(id) {
    this.text_area = typeof(id) == 'string' ? document.getElementById(id) : id;
    this.text_area = typeof id === 'string' ? document.getElementById(id) : id;
    if (this.text_area) {
        if (!this.spell_container && this.decoration) {
@@ -120,7 +120,7 @@
// API Functions (the ones that you can call)
/////
this.setSpellContainer = function(id) {
    this.spell_container = typeof(id) == 'string' ? document.getElementById(id) : id;
    this.spell_container = typeof id === 'string' ? document.getElementById(id) : id;
};
this.setLanguages = function(lang_dict) {
@@ -931,7 +931,7 @@
// Misc. functions
/////
this.isDefined = function(o) {
    return (o != 'undefined' && o != null)
    return (o !== undefined && o !== null)
};
this.errorFixed = function() {