Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,26 @@ Note that while the field can recognize these shortened syntaxes to display the
Installation
===

Normal
---
* Clone the repository to /wp-content/plugins/ in your Wordpress installation
* Activate in the Plugins manager.

OR
or

* Install using composer `composer install`
Composer
---
If using Composer (e.g. with [Bedrock](https://roots.io/bedrock/))
* Add repo to `composer.json`:
```json
"repositories": [
{
"type": "git",
"url": "https://github.com/nickforddesign/acf-swatch"
}
]
```
* Install using composer `composer require nickford/acf-swatch`

Suggested Usage
===
Expand Down
2 changes: 0 additions & 2 deletions js/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
var val = $(this).val();
var result;

console.info(val)

// check if color statement is in shorthand syntax

if (val.indexOf('#') < 0 && val.indexOf('rgb') < 0 && val.indexOf('hsl') < 0) {
Expand Down
1 change: 0 additions & 1 deletion js/min/input-min.js

This file was deleted.