-
Notifications
You must be signed in to change notification settings - Fork 8
Multi selectors, id and class shortcuts, underscores as hyphens #3
Comments
i already have comma multiselectors in master, |
maybe we could overload
|
Hmm, i tried comma separation before adding the feature, but it didn't do anything for me; have to test it again. I'll try to find time to make a fork and add the features with pull request, but might take a while. Maybe two underscores as separator |
like i said it's in master and not in the npm version. there are other characters to choose from, like |
Ah, i'v never done npm package myself, so didn't realize that of course that's different from master. True, though |
sure two underscores seems fine. it shouldn't take very long to add these features, the entire ccss source is under 50 lines. |
Started using CCSS in a CoffeeScript framework i'm building (https://github.com/jussiry/houCe), and added some new features to it:
And here's the iterator that adds these features:
Notice that the code uses
merge
function from Sugar.js. You can replace that withextend
from JQuery or Underscore, if those are the libraries of your choice.The text was updated successfully, but these errors were encountered: