Invalid function call causes unexpected error #123

Closed
willwhite opened this Issue Dec 8, 2011 · 1 comment

2 participants

@willwhite
Mapbox member

Calling an function like darken(#85c5d3) instead of darken(#85c5d3, 10) results in the following error:

TypeError: Cannot read property 'value' of undefined

Example style:

#countries {
  ::outline {
    line-color: darken(#85c5d3);
    line-width: 2;
    line-join: round;
  }
  polygon-fill: #fff;
}
@tmcw
Mapbox member

Should be fixed in 67ddce9. Can you test?

@tmcw tmcw added a commit that closed this issue May 1, 2012
@tmcw tmcw Test for 123 fix. Fixes #123 d17416b
@tmcw tmcw closed this in d17416b May 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment