release 2.0.13 Beta3 for YingYongBao

This commit is contained in:
hyb1996
2017-07-09 11:28:28 +08:00
parent a660a98539
commit c6e31dcb41
8 changed files with 40 additions and 27 deletions

View File

@@ -10,6 +10,10 @@ module.exports = function(__runtime__, scope){
images.saveImage = __runtime__.images.saveImage.bind(__runtime__.images);
images.pixel = __runtime__.images.pixel;
images.detectsColor = __runtime__.images.detectsColor.bind(__runtime__.images);
images.findColor = function(img, color, options){
if(typeof(color) == 'string'){
if(color.startsWith('#')){