javascript includes?

Marco Martin notmart at gmail.com
Thu Oct 21 15:50:49 CEST 2010


On Thursday 21 October 2010, Chani wrote:
> I can't figure out how to include a file in a js plasmoid.
> include("foo.js"); gets me ReferenceError: can't find variable: include.
> have I missed something, or is this not implemented yet?

plasmoid.include("foo.js")

then all the included stuff shuld be in the same context of where you called 
plasmoid.include()

Cheers,
Marco Martin


More information about the Plasma-devel mailing list