Removing console.log

stable
Alejandro Alonso 2016-09-22 14:41:33 +02:00 committed by David Barragán Merino
parent cf2b2b4be7
commit b0395724ed
1 changed files with 0 additions and 2 deletions

View File

@ -105,9 +105,7 @@ module.filter("byRef", ["filterFilter", byRefFilter])
darkerFilter = ->
return (color, luminosity) ->
# validate hex string
console.log color
color = new String(color).replace(/[^0-9a-f]/gi, '')
console.log color
if color.length < 6
color = color[0]+ color[0]+ color[1]+ color[1]+ color[2]+ color[2];