javascript includes?

Chani chanika at gmail.com
Fri Oct 22 00:38:20 CEST 2010


On October 21, 2010 15:50:49 Marco Martin wrote:
> 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()
> 

yay :) thanks.
now how do I get a grid or anchorlayout working? when I tried them I just 
ended up with all the widgets on top of each other... LinearLayout is no 
problem though.

-- 
Chani
http://chani.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101022/2210c003/attachment.sig 


More information about the Plasma-devel mailing list