Can't find information about JavaScript usage with Compass, in configuration i found an "javascript_dir" options, but dont know how to use it. Can somebody please explain for what this option is here, and how to use it with .scss files?
Compass. SASS. Definition. Compass is an SASS library holding the raw code with additional inbuilt functions. SASS is merely and extension of CSS3 which includes variables, loops, selector inheritance and many more.
Compass is an open-source CSS authoring framework which uses the Sass stylesheet language to make writing stylesheets powerful and easy. If you're not familiar with Sass, Go to sass-lang.com to learn all about how it works.
The CSS3 module provides cross-browser mixins for CSS properties introduced in CSS3, for example border-radius and text-shadow . What rendering engines you support for the experimental css properties is governed by the configurable variables defined in the browser support module.
The comment above is correct, Compass and Sass don't normally interact with JS. It is possible for someone to include JS in a compass plugin, in which case Compass needs to know where those files should go when you install the plugin. That's the only use for the "javascript_dir" at this point. If you aren't installing any plugins with JS, you can ignore it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With