Consistent scope for Sass::Script::Functions #378

merged 1 commit into from Nov 1, 2012

3 participants


In the SassTemplate initializer, always use top-level scope for ::Sass::Script::Functions.

This adds consistency and fixes issues with Rails 4, which manages to define Sprockets::Sass somewhere in its standard dependencies.

@josh josh merged commit 5407b5d into sstephenson:master Nov 1, 2012

Several lexically-scoped Sass references linger in lib/sprockets/sass_functions.rb, among other files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment