getify/grips

grips-css: function to normalize selectors

Offen

#15 geöffnet am 11.03.2014

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

Repository-Metriken

Stars
 (288 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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