Skip to content

helper: file_exist (in sass-extension)#1957

Open
hiphapis wants to merge 1 commit intoCompass:stablefrom
hiphapis:file_exist
Open

helper: file_exist (in sass-extension)#1957
hiphapis wants to merge 1 commit intoCompass:stablefrom
hiphapis:file_exist

Conversation

@hiphapis
Copy link

from: #1717
it's file_exist helper. sorry to late.

ex.

body {
  @if file_exist("debug.jpg") {
    background-color: green;
  }
  @else {
    background-color: red;
  }
}

please welcome any feedback :)

anyway. i did read https://github.com/Compass/compass/blob/stable/CONTRIBUTING.md#running-tests & http://compass-style.org/help/tutorials/contributing/#running-tests
but it does not work.
so please update the "Running Tests". then i'll make test codes and running test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant