[RCD] Can't include other js libraries from plugin

Everson Alves jhonny at eversonalves.com.br
Fri Oct 16 19:56:44 CEST 2009


hello,

I'm trying to build a plugin that will use extjs, but when I try to import
it there's a js error.

code:
$this->include_script('ext-all-debug.js');

gives:

Error : Ext is not defined
Source :
http://127.0.0.1/mailsar2/plugins/nsfac/ext-all-debug.js?s=1255713110
Ligne : 135

but on line 135 is the very beginning of ExtJs definitions:
Ext.DomHelper = function(){

 I have tested other libraries with the same result.  I've comment all my js
code, so this error occurs even with just that include line;

-- 
Jhonny Everson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20091016/a4f2bccb/attachment.html>
-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list