getify/grips

grips-css: function to normalize selectors

オープン

#15 opened on 2014/03/11

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (22 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (288 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

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