Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed paths

  • Loading branch information...
commit 7bf792acc5cc2608cccaa72c5895b2ed4d17108a 1 parent ff80e18
@methyl methyl authored
View
15 lib/sass_load_paths.rb
@@ -1,15 +0,0 @@
-require 'tilt'
-
-module Sass
- module Rails
- class SassTemplate < Tilt::SassTemplate
- def sass_options_from_rails(scope)
- options = scope.environment.context_class.sass_config
- options.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
- options.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
- options.load_paths << "#{Gem.loaded_specs['sencha-touch-rails'].full_gem_path}/vendor/assets/stylesheets/sencha-touch/default"
- return options
- end
- end
- end
-end
View
9 lib/sencha-touch-rails.rb
@@ -1,6 +1,9 @@
require 'sencha-touch/rails'
-
-require 'sass_load_paths'
-
require 'theme_images'
+module SenchaTouch
+ def load!
+ stylesheets = File.expand_path(File.join("..", 'vendor', 'assets', 'stylesheets'))
+ Sass.load_paths << stylesheets
+ end
+end
View
2  lib/sencha-touch/rails/version.rb
@@ -1,6 +1,6 @@
module SenchaTouch
module Rails
- VERSION = "1.1.1"
+ VERSION = "1.1.2"
SENCHA_TOUCH_VERSION = "2.1.1"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.