From 509a2e682ef9f332a37065c302cddf21646cd7a8 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 4 May 2014 10:50:26 +0200 Subject: [PATCH] Asset paths for Compass and Sprockets in Sass 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 --- vendor/assets/stylesheets/_bootstrap-compass.scss | 7 +++++++ vendor/assets/stylesheets/_bootstrap-sprockets.scss | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 vendor/assets/stylesheets/_bootstrap-compass.scss create mode 100644 vendor/assets/stylesheets/_bootstrap-sprockets.scss diff --git a/vendor/assets/stylesheets/_bootstrap-compass.scss b/vendor/assets/stylesheets/_bootstrap-compass.scss new file mode 100644 index 0000000000..82706c47c5 --- /dev/null +++ b/vendor/assets/stylesheets/_bootstrap-compass.scss @@ -0,0 +1,7 @@ +@function twbs-font-path($path) { + @return font-url($path, true); +} + +@function twbs-image-path($path) { + @return image-url($path, true); +} diff --git a/vendor/assets/stylesheets/_bootstrap-sprockets.scss b/vendor/assets/stylesheets/_bootstrap-sprockets.scss new file mode 100644 index 0000000000..7d3069280e --- /dev/null +++ b/vendor/assets/stylesheets/_bootstrap-sprockets.scss @@ -0,0 +1,7 @@ +@function twbs-font-path($path) { + @return font-path($path); +} + +@function twbs-image-path($path) { + @return image-path($path); +}