J Janz wrote:

> Right ... I meant, wouldn't this be because you're using plasmoid.include
> instead of just include, like in the API link? (i think *that* should give
> you an error but ... anyway)
> --
> J (|´:¬{)»

If you read closely on the API documentation, the include() is actually part of 
the "global Plasmoid" object (I however also initially thought the same)--
doesn't work if you just use include().

If I add a print statement in the included lib.js, it does get evaluated and I 
can see the printed output; so it seems that the included file is being 
included; it's just that I'm unable to reference the variables and functions 
declared in it.

Amos Kariuki

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to