Skip to content

Commit

Permalink
Asset paths for Compass and Sprockets in Sass
Browse files Browse the repository at this point in the history
Useful when ruby integration is not available (e.g. as a bower package).
Will be the default way to integrate in the next version.

See also: #592 #593
  • Loading branch information
glebm committed May 4, 2014
1 parent aff4f28 commit 509a2e6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vendor/assets/stylesheets/_bootstrap-compass.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@function twbs-font-path($path) {
@return font-url($path, true);
}

@function twbs-image-path($path) {
@return image-url($path, true);
}
7 changes: 7 additions & 0 deletions vendor/assets/stylesheets/_bootstrap-sprockets.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@function twbs-font-path($path) {
@return font-path($path);
}

@function twbs-image-path($path) {
@return image-path($path);
}

0 comments on commit 509a2e6

Please sign in to comment.