Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile multi-line selector error #15

Open
cheneywan opened this issue Nov 7, 2013 · 0 comments
Open

compile multi-line selector error #15

cheneywan opened this issue Nov 7, 2013 · 0 comments

Comments

@cheneywan
Copy link

cw = require 'css-whitespace'

console.log cw """
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp, a,
small, strong, sub, sup, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video
  clear: none
"""

output:

htmlbodydivspanobjectiframe;

h1h2h3h4h5h6pblockquotepre;

abbraddresscitecode;

deldfnemimginskbdqsampa;

smallstrongsubsupvar;

dldtddolulli;

fieldsetformlabellegend;

tablecaptiontbodytfoottheadtrthtd;

articleasidecanvasdetailsfigcaptionfigure;

footerheaderhgroupmenunavsectionsummary;

time,
mark,
audio,
video {
  clear: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant