Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Apr 20 17:23:49 -0700 2009 | |
| |
README.rdoc | Fri Apr 24 15:24:49 -0700 2009 | |
| |
Rakefile | Mon May 04 20:09:15 -0700 2009 | |
| |
doc/ | Fri Apr 24 13:58:30 -0700 2009 | |
| |
jsmin.rb | Fri Apr 24 13:58:30 -0700 2009 | |
| |
lib/ | Sun Aug 23 13:57:03 -0700 2009 | |
| |
old-lib/ | Sun Aug 23 13:57:03 -0700 2009 | |
| |
sassijs.js | Mon May 04 20:09:15 -0700 2009 | |
| |
sassijs.min.js | Fri Apr 24 13:58:30 -0700 2009 | |
| |
snippet.txt | Sat Feb 14 11:14:22 -0800 2009 | |
| |
spec - cc41f3c | Sun Aug 23 13:57:03 -0700 2009 | |
| |
test/ | Sun Aug 23 13:57:03 -0700 2009 | |
| |
tests.html | Sun Jan 25 19:02:28 -0800 2009 |
We have SASSIJS!
Syntactically Awesome Style Sheets + In + JavaScript => SASSIJS
BREAK FREE FROM CSS!!!
You can now use SASS instead of CSS in your web pages. For a full description of SASS, see the documentation here: haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html but ignore the installation instructions.
Usage
Very easy. Just link add a script element pointing to the library, and a link element pointing to the sass template. For example:
<script src="./sassijs.js" type="text/javascript"></script> <link href="./main.sass" type="text/sass" />
Tests
Had to twist qUnit to get the testing framework that I wanted, because I needed to be able to run individual unit tests. You can access the test suite at:
…/sassijs/test/index.html
Status
This software is currently at version 0.437, which is alpha-quality. When it hits 1.0, it will be feature complete with the SASS specifications that make sense outside of Ruby, and it will be cross-browser compatible up to jquery’s standards.







