getify/grips

grips-css: function to normalize selectors

開放

#15 建立於 2014年3月11日

 (0 則留言) (0 個反應) (1 位負責人)JavaScript (22 個分叉)github user discovery
help wanted

倉庫指標

星標
 (288 顆星)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南