Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sass, Compass and JavaScript

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?

like image 744
MyMomSaysIamSpecial Avatar asked Oct 29 '12 07:10

MyMomSaysIamSpecial


People also ask

What is Sass and compass?

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.

What is Compass compiler?

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.

What is @import compass CSS3?

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.


1 Answers

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.

like image 55
Miriam Suzanne Avatar answered Sep 20 '22 09:09

Miriam Suzanne