Browse Source

more work on theme api docs and mock script

sisyphus
Dustin Falgout 9 years ago
parent
commit
7bd8d8bf36
  1. 6
      themes/_vendor/js/mock.js

6
themes/_vendor/js/mock.js vendored

@ -209,7 +209,7 @@ let LightDMUser = {
* The greeter will automatically create an instance of this class when it starts.
* The instance can be accessed through the {@link window.lightdm} global variable.
*/
window.lightdm = new (class LightDMGreeter {
class LightDMGreeter {
constructor() {
if ( null !== _greeter ) {
@ -538,7 +538,7 @@ window.lightdm = new (class LightDMGreeter {
*/
suspend() {}
})();
}
/**
* Mock data to simulate the greeter's API in any web browser.
@ -620,6 +620,8 @@ const MockData = {
]
};
window.lightdm = new LightDMGreeter();
// mock lighdm for testing
/*

Loading…
Cancel
Save