Permalink
Browse files

Document extensibility.

  • Loading branch information...
1 parent a0b6995 commit effb732f404d9ae36ca141ef4e39c7e91a5582e1 @ndp committed Oct 11, 2010
Showing with 444 additions and 405 deletions.
  1. +10 −1 README.markdown
  2. +434 −404 src/core.js
View
@@ -153,8 +153,17 @@ A macro's properties will be overwritten by properties within including selector
Csster is built as an extensible system.
-* <code>Csster.addPropertyNames</code> -- any non-standard property names you'd like to be considered "valid". The build-in tool rejects non-standard property names (or in some cases will think they are selectors).
+### <code>Csster.addPropertyNames</code>
+Any non-standard property names you'd like to be considered valid. The build-in tool rejects non-standard property names.
+### <code>Csster.propertyPreprocessors</code>
+Functions called before properties are expanded. Callback is provided a hash of properties to values, which it modifies in any way it wants.
+
+### <code>Csster.rulesPostProcessors</code>
+Functions called after rules are processed, but before they are output. Called with an array of processed rules.
+
+### <code>Csster.insertStylesheet</code>
+Function that outputs a set of rules into the DOM.
## Contributing
Oops, something went wrong.

0 comments on commit effb732

Please sign in to comment.