[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: documenting javascript DataEgine and Runners
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2010-02-02 17:34:17
Message-ID: 201002020934.18458.aseigo () kde ! org
[Download RAW message or body]
On February 2, 2010, Will Stephenson wrote:
> On Monday 01 Feb 2010 17:35:24 Aaron J. Seigo wrote:
> > On January 31, 2010, Will Stephenson wrote:
> > > Speaking of this, was there a JS API change between 4.4 and trunk?
> >
> > there shouldn't be; they should be identical. the idea is to keep strict
> > compat in the JS API from 4.4.0 onward.
> >
> > > Specifically, the plasmoid.dataEngine() method appears to have moved
> > > from a global variable in 4.4 to a member of plasmoid.
> >
> > i don't think that's changed at all, actually. the code is identical in
> > both 4.4 and 4.5. i just tested with trunk and dataEngine is still,
> > indeed, a global function.
> >
> > i think that plasmoid.dataEngine would actually be better and more
> > consistent, but i'm not sure it's worth breaking whatever JS plasmoids
> > exist prior to 4.4. there are already published JS plasmoids using the
> > top-level method and while it is a wart it's a smallish one and probably
> > not worth changing.
>
> Ok, plasmoid.dataEngine() is used in
> http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/DataEngine
> - is that just wrong?
yes :) i will fix that...
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
_______________________________________________
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