3
0
mirror of https://github.com/cytodev/LightDMMock.git synced 2024-11-24 23:19:49 +01:00

Fix readme steps reading only 1

This commit is contained in:
CytoDev 2016-07-13 00:19:29 +02:00
parent 580563abe3
commit 211f9a5e1c

View File

@ -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>
##Usage:
1. Clone the repo
[1]. Clone the repo
````bash
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
<script type="text/javascript" src="mock/LightDMMock.js"></script>
````
3. Create a new instance of LightDMMock
[3]. Create a new instance of LightDMMock
````javascript
if(!("lightdm" in window)) {
var LightDMMock = LightDMMock || {};