/** -------------------------------- /** SpellCheck - JS /** --------------------------------*/ function spellcheck_js() { if (!class_exists('EE_Spellcheck')) { require APPPATH . 'libraries/Spellcheck.php'; } $SPELL = new EE_Spellcheck(); $this->spellcheck_enabled = $SPELL->enabled; return $SPELL->JavaScript($this->_create_path('spellcheck'), TRUE); }