Browse Source

update theme api docs

sisyphus
Dustin Falgout 8 years ago
parent
commit
bf37a6634c
  1. 18
      web-greeter/resources/js/bootstrap.js
  2. 2
      web-greeter/resources/js/docs/GreeterConfig.js

18
web-greeter/resources/js/bootstrap.js vendored

@ -49,15 +49,6 @@
*/ */
window.greeter_config = _channel.objects.Config; window.greeter_config = _channel.objects.Config;
/**
* ***Deprecated!*** Use {@link window.greeter_config} instead.
* @name config
* @type {LightDM.GreeterConfig}
* @memberOf window
* @deprecated
*/
window.config = window.greeter_config;
/** /**
* Theme Utils - various utility methods for use in greeter themes. * Theme Utils - various utility methods for use in greeter themes.
* @name theme_utils * @name theme_utils
@ -66,15 +57,6 @@
*/ */
window.theme_utils = new ThemeUtils( _channel.objects.ThemeUtils ); window.theme_utils = new ThemeUtils( _channel.objects.ThemeUtils );
/**
* ***Deprecated!*** Use {@link window.theme_utils} instead.
* @name greeterutil
* @type {LightDM.ThemeUtils}
* @memberOf window
* @deprecated
*/
window.greeterutil = window.theme_utils;
setTimeout( function () { setTimeout( function () {
window.dispatchEvent( _ready_event ); window.dispatchEvent( _ready_event );
}, 2 ); }, 2 );

2
web-greeter/resources/js/docs/GreeterConfig.js vendored

@ -28,7 +28,7 @@
/** /**
* Provides greeter themes with a way to access values from the greeter's config * Provides greeter themes with a way to access values from the greeter's config
* file located at `/etc/lightdm/web-greeter.conf`. The greeter will * file located at `/etc/lightdm/web-greeter.yml`. 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`](#dl-window-greeter_config). * with the global variable: [`greeter_config`](#dl-window-greeter_config).
* *

Loading…
Cancel
Save