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> 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 || {};