Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

str-replace($find, $replace, $input) not working #49

Open
waynedpj opened this issue Dec 11, 2013 · 1 comment
Open

str-replace($find, $replace, $input) not working #49

waynedpj opened this issue Dec 11, 2013 · 1 comment

Comments

@waynedpj
Copy link

ahoy,

it seems like str-replace is not working. given the following input

$find: 'hello';
$replace: 'ahoy';
$input: 'hello Toolkit!';

@debug str-replace($find, $replace, $input);

the output is DEBUG: hello. basically, it seems to return the $find string no matter what.

my current Bundler versions are:

Using sass (3.2.12) 
Using compass (0.12.2) 
Using toolkit (1.3.8) 
Using bundler (1.3.5) 

thanks

@waynedpj
Copy link
Author

OK, i just realized that Toolkit pulls in Sassy-Strings, which also has a str-replace function but the argument order is different than the one defined in Toolkit's config.rb. if i follow Sassy-Strings argument order, the function works.

is there some namespace collision/resolution happening here? do we need to remove the Toolkit str-replace and update the docs to give the correct argument order?

thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant