Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Oct 13, 2019
1 parent 97c5989 commit 27b2f6b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
56 changes: 28 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"name": "wplemon/control-wcag-auto-linkcolor",
"type": "library",
"description": "Links Color control for the free version of the Gridd theme. Addon for the Kirki framework (v4.0 API).",
"keywords": ["wordpress","customizer","framework"],
"homepage": "https://aristath.github.io/kirki",
"license": "MIT",
"authors": [
{
"name": "Ari Stathopoulos",
"email": "aristath@gmail.com",
"homepage": "http://aristath.github.io",
"role": "Developer"
}
],
"require": {
"php": ">=5.6",
"kirki-framework/control-base": "*",
"kirki-framework/field": "*",
"kirki-framework/url-getter": "*"
},
"autoload": {
"psr-4": {
"WPLemon\\Control\\": "src/Control",
"WPLemon\\Field\\": "src/Field"
}
}
}
{
"name": "wplemon/control-wcag-auto-linkcolor",
"type": "library",
"description": "Links Color control for the free version of the Gridd theme. Addon for the Kirki framework (v4.0 API).",
"keywords": ["wordpress","customizer","framework"],
"homepage": "https://aristath.github.io/kirki",
"license": "MIT",
"authors": [
{
"name": "Ari Stathopoulos",
"email": "aristath@gmail.com",
"homepage": "http://aristath.github.io",
"role": "Developer"
}
],
"require": {
"php": ">=5.6",
"kirki-framework/control-base": "*",
"kirki-framework/field": "*",
"kirki-framework/url-getter": "*"
},
"autoload": {
"psr-4": {
"WPLemon\\Control\\": "src/Control",
"WPLemon\\Field\\": "src/Field"
}
}
}
4 changes: 2 additions & 2 deletions src/Control/WCAGLinkColor.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public function enqueue() {
parent::enqueue();

// Enqueue the script.
wp_enqueue_script( 'kirki-control-react-color', URL::get_from_path( dirname( dirname( __DIR__ ) ) . '/dist/main.js' ), [ 'customize-controls', 'wp-element', 'jquery', 'customize-base', 'kirki-dynamic-control', 'wp-color-picker' ], time(), false );
wp_enqueue_script( 'wplemon-control-auto-links-colorpicker', URL::get_from_path( dirname( dirname( __DIR__ ) ) . '/dist/main.js' ), [ 'customize-controls', 'wp-element', 'jquery', 'customize-base', 'kirki-dynamic-control', 'wp-color-picker' ], time(), false );

// Enqueue the style.
wp_enqueue_style( 'kirki-control-react-color-style', URL::get_from_path( dirname( __DIR__ ) . '/style.css' ), [], time() );
wp_enqueue_style( 'wplemon-control-auto-links-colorpicker-style', URL::get_from_path( dirname( __DIR__ ) . '/style.css' ), [], time() );
}

/**
Expand Down

0 comments on commit 27b2f6b

Please sign in to comment.