Skip to content

v0.4.0

Compare
Choose a tag to compare
@ncoden ncoden released this 20 Dec 01:57
· 3 commits to develop since this release

Major changes:

  • Add unit tests. (996a2fa)
  • Add documentation. (85e69ad)
  • Change se-try and se-try-catch behavior (see below).

Try/try-catch update

Fix: Make se-try taking the value to test instead of the function to call. (9eb8eac)

  • Rename the "catch function" $catch_func_name to "Exception Handler" $handler.
  • Make se-try-catch taking arguments to create a custom Exception on false value.

Note: The $handler function must be defined in the same scope as sass-errors-try-catch.

Other changes:

  • Add Travis
  • Use se-error as default catch function. (f26ad93)
  • Fix sass-errors-init persistent Exceptions. (f26ad93)
  • Fix sass-errors-message for empty error or prefix (7d0b771)