[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: javascript includes?
From:       Marco Martin <notmart () gmail ! com>
Date:       2010-10-21 13:50:49
Message-ID: 201010211550.50179.notmart () gmail ! com
[Download RAW message or body]

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
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic