forked from UndefinedOffset/silverstripe-colorpicker
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from bummzack/ss4-fixes
Turn the module into a vendor-module.
- Loading branch information
Showing
6 changed files
with
65 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
<?php | ||
/** | ||
* ColorPicker jQuery widget/plugin by http://www.eyecon.ro/colorpicker/ | ||
*/ | ||
|
||
// define colorpicker dir so that the installation doesn't need a fixed directory name | ||
if (!defined('COLORPICKER_DIR')) { | ||
define('COLORPICKER_DIR', basename(__DIR__)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
Name: colorpicker-fieldtypes | ||
After: corefieldtypes | ||
--- | ||
SilverStripe\Core\Injector\Injector: | ||
Color: | ||
class: TractorCow\Colorpicker\Color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,37 @@ | ||
{ | ||
"name": "tractorcow/silverstripe-colorpicker", | ||
"description": "Color picker field for Silverstripe CMS using the ColorPicker jQuery plugin", | ||
"type": "silverstripe-module", | ||
"keywords": ["silverstripe", "color", "colour"], | ||
"authors": [ | ||
{ | ||
"name": "Damian Mooyman", | ||
"email": "damian.mooyman@gmail.com" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/tractorcow/silverstripe-colorpicker/issues" | ||
}, | ||
"require": { | ||
"silverstripe/framework": "4.*" | ||
}, | ||
"extra": { | ||
"installer-name": "colorpicker", | ||
"branch-alias": { | ||
"dev-master": "4.0.x-dev" | ||
} | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"TractorCow\\Colorpicker\\": "src/", | ||
"TractorCow\\Colorpicker\\Tests\\": "tests/php/" | ||
} | ||
} | ||
"name": "tractorcow/silverstripe-colorpicker", | ||
"description": "Color picker field for Silverstripe CMS using the ColorPicker jQuery plugin", | ||
"type": "silverstripe-vendormodule", | ||
"keywords": [ | ||
"silverstripe", | ||
"color", | ||
"colour", | ||
"colorpicker" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Damian Mooyman", | ||
"email": "damian.mooyman@gmail.com" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/tractorcow/silverstripe-colorpicker/issues" | ||
}, | ||
"require": { | ||
"silverstripe/framework": "^4.0" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "4.0.x-dev" | ||
}, | ||
"expose": [ | ||
"client" | ||
] | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"TractorCow\\Colorpicker\\": "src/", | ||
"TractorCow\\Colorpicker\\Tests\\": "tests/php/" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters