Skip to content

Commit 7bdc1d2

Browse files
authored
Merge pull request #5 from JodiWarren/master
Remove console.log and add fuller Composer instructions
2 parents ebefd07 + 5658250 commit 7bdc1d2

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,26 @@ Note that while the field can recognize these shortened syntaxes to display the
4141
Installation
4242
===
4343

44+
Normal
45+
---
4446
* Clone the repository to /wp-content/plugins/ in your Wordpress installation
4547
* Activate in the Plugins manager.
4648

47-
OR
49+
or
4850

49-
* Install using composer `composer install`
51+
Composer
52+
---
53+
If using Composer (e.g. with [Bedrock](https://roots.io/bedrock/))
54+
* Add repo to `composer.json`:
55+
```json
56+
"repositories": [
57+
{
58+
"type": "git",
59+
"url": "https://github.com/nickforddesign/acf-swatch"
60+
}
61+
]
62+
```
63+
* Install using composer `composer require nickford/acf-swatch`
5064

5165
Suggested Usage
5266
===

js/input.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
var val = $(this).val();
2222
var result;
2323

24-
console.info(val)
25-
2624
// check if color statement is in shorthand syntax
2725

2826
if (val.indexOf('#') < 0 && val.indexOf('rgb') < 0 && val.indexOf('hsl') < 0) {

js/min/input-min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)