Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2013-10-16 23:24:42 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2013-10-16 23:24:42 +0400
commit57dce4c74d7ea7be2b526b27c0ff55aff374ff9d (patch)
tree8cc22c28c9f041071e21faed86f83858747f0d60 /templates/project/manifest.rb
parent6e21c5b1c2b32204c48b1aa8a09a47eb04d441a0 (diff)
update compass + improve docs
Diffstat (limited to 'templates/project/manifest.rb')
-rw-r--r--templates/project/manifest.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/project/manifest.rb b/templates/project/manifest.rb
index ac4fb83..419f4da 100644
--- a/templates/project/manifest.rb
+++ b/templates/project/manifest.rb
@@ -1,13 +1,13 @@
-description "Bootstrap for Sass"
+description 'Bootstrap for Sass'
# Stylesheet importing bootstrap
stylesheet 'styles.scss'
-stylesheet '_variables.scss'
-#
-# Other Bootstrap assets
-basedir = '../../vendor/assets'
+# SCSS:
+stylesheet '_variables.scss.erb', to: '_variables.scss', erb: true
+# JS:
+bs_javascripts = "../../vendor/assets/javascripts/bootstrap"
%w(affix alert button carousel collapse dropdown modal popover scrollspy tab tooltip transition).each do |file|
- javascript "#{basedir}/javascripts/bootstrap/#{file}.js", :to => "bootstrap/#{file}.js"
+ javascript "#{bs_javascripts}/#{file}.js", to: "bootstrap/#{file}.js"
end \ No newline at end of file