Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Nov 1, 2012

Conversation

Projects
None yet
3 participants
Contributor

wllrd commented Nov 1, 2012

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 added a commit that referenced this pull request Nov 1, 2012

@josh josh Merge pull request #378 from wllrd/master
Consistent scope for Sass::Script::Functions
5407b5d

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

mdavidn commented Nov 15, 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