mirror of
https://github.com/cytodev/LightDMMock.git
synced 2024-11-28 17:09:47 +01:00
Fix readme steps reading only 1
This commit is contained in:
parent
580563abe3
commit
211f9a5e1c
@ -2,15 +2,15 @@
|
|||||||
A LightDM Mock that is tightly based on the source C code of [Antergos](https://github.com/Antergos)' [lightdm-webkit2-greeter](https://github.com/Antergos/lightdm-webkit2-greeter). <font style="color:red">Please note that the deprecation errors are intrusive for a reason.</font>
|
A LightDM Mock that is tightly based on the source C code of [Antergos](https://github.com/Antergos)' [lightdm-webkit2-greeter](https://github.com/Antergos/lightdm-webkit2-greeter). <font style="color:red">Please note that the deprecation errors are intrusive for a reason.</font>
|
||||||
|
|
||||||
##Usage:
|
##Usage:
|
||||||
1. Clone the repo
|
[1]. Clone the repo
|
||||||
````bash
|
````bash
|
||||||
git clone git@github.com:CytoDev/LightDMMock.git
|
git clone git@github.com:CytoDev/LightDMMock.git
|
||||||
````
|
````
|
||||||
2. Include the file in your theme that needs mocking<br>
|
[2]. Include the file in your theme that needs mocking<br>
|
||||||
````html
|
````html
|
||||||
<script type="text/javascript" src="mock/LightDMMock.js"></script>
|
<script type="text/javascript" src="mock/LightDMMock.js"></script>
|
||||||
````
|
````
|
||||||
3. Create a new instance of LightDMMock
|
[3]. Create a new instance of LightDMMock
|
||||||
````javascript
|
````javascript
|
||||||
if(!("lightdm" in window)) {
|
if(!("lightdm" in window)) {
|
||||||
var LightDMMock = LightDMMock || {};
|
var LightDMMock = LightDMMock || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user