Created
October 26, 2015 17:46
-
-
Save rangalo/a979872aae0e93adf7c9 to your computer and use it in GitHub Desktop.
This mixin will be on jsf side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------------------------- | |
// resource_url function returns the parameter as url(#{resource['<parameter>']}) | |
// and should be used instead of CSS url() or compass image_url() in JSF applications. | |
// Define JSF Resource Library resource['standard: | |
@function resource_url($url) { | |
@return ("\#{resource['#{$url}']}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment