getify/grips

grips-css: function to normalize selectors

Open

#15 opened on 2014年3月11日

GitHub で見る
 (0 comments) (0 reactions) (1 assignee)JavaScript (22 forks)github user discovery
help wanted

Repository metrics

Stars
 (288 stars)
PR merge metrics
 (PR metrics pending)

説明

Whenever selectors are processed by the codegen, and they are base64 encoded for the grips partial id's, these selectors need to be normalized. Whenever render(..) is called with a selector, that selector should be normalized, so it can match when base64 encoded the proper grips partial.

Examples of necessary normalizations:

foo     bar

-> foo bar

foo     >       bar

-> foo > bar

foo    /* something */    bar

-> foo bar

コントリビューターガイド