getify/grips

grips-css: function to normalize selectors

Open

#15 geöffnet am 11. März 2014

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (22 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (288 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide