Browse Source

...

sisyphus
Dustin Falgout 8 years ago
parent
commit
863963d6a5
  1. 8
      src/gresource/js/Greeter.js
  2. 2
      src/gresource/js/GreeterConfig.js
  3. 4
      src/gresource/js/LightDMObjects.js
  4. 4
      src/gresource/js/ThemeUtils.js

8
src/gresource/js/Greeter.js

@ -32,12 +32,16 @@
* @global * @global
*/ */
/**
* @namespace LightDM The greeter's Theme JavaScript API.
*/
/** /**
* Base class for the greeter's JavaScript Theme API. Greeter themes will interact * Base class for the greeter's Theme JavaScript API. Greeter themes will interact
* directly with an object derived from this class to facilitate the user log-in process. * directly with an object derived from this class to facilitate the user log-in process.
* The greeter will automatically create an instance when it starts. * The greeter will automatically create an instance when it starts.
* The instance can be accessed using the global variable: {@link window.lightdm}. * The instance can be accessed using the global variable: [`lightdm`](#dl-window-lightdm).
* *
* @memberOf LightDM * @memberOf LightDM
*/ */

2
src/gresource/js/GreeterConfig.js

@ -47,7 +47,7 @@ function set_values( defaults, target_obj, method ) {
* Provides theme authors with a way to retrieve values from the greeter's config * Provides theme authors with a way to retrieve values from the greeter's config
* file located at `/etc/lightdm/lightdm-webkit2-greeter.conf`. The greeter will * file located at `/etc/lightdm/lightdm-webkit2-greeter.conf`. The greeter will
* create an instance of this class when it starts. The instance can be accessed * create an instance of this class when it starts. The instance can be accessed
* with the global variable: [`greeter_config`]({@link external:window.greeter_config}). * with the global variable: [`greeter_config`](#dl-window-greeter_config).
* *
* @memberOf LightDM * @memberOf LightDM
*/ */

4
src/gresource/js/LightDMObjects.js

@ -25,10 +25,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/**
* @namespace LightDM
*/
/** /**
* Interface for object that holds info about a session. Session objects are not * Interface for object that holds info about a session. Session objects are not
* created by the theme's code, but rather by the {@link LightDM.Greeter} class. * created by the theme's code, but rather by the {@link LightDM.Greeter} class.

4
src/gresource/js/ThemeUtils.js

@ -41,7 +41,7 @@ let localized_invalid_date = moment('today', '!@#'),
/** /**
* Provides various utility methods for use by theme authors. The greeter will automatically * Provides various utility methods for use by theme authors. The greeter will automatically
* create an instance of this class when it starts. The instance can be accessed * create an instance of this class when it starts. The instance can be accessed
* with the global variable: {@link window.theme_utils}. * with the global variable: [`theme_utils`](#dl-window-theme_utils).
* *
* @memberOf LightDM * @memberOf LightDM
*/ */
@ -235,7 +235,7 @@ __theme_utils.then( result => {
* @name greeterutil * @name greeterutil
* @type {LightDM.ThemeUtils} * @type {LightDM.ThemeUtils}
* @memberOf window * @memberOf window
* @deprecated Use {@link window.theme_utils} instead. * @deprecated Use [`theme_utils`](#dl-window-theme_utils) instead.
*/ */
window.greeterutil = window.theme_utils; window.greeterutil = window.theme_utils;
} ); } );

Loading…
Cancel
Save