Created
February 10, 2016 18:12
-
-
Save MikSDigital/65f6df3a61a65de12c5d to your computer and use it in GitHub Desktop.
even possible to use comma to separate values in push statement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- var scripts=[] | |
- scripts.push('http://fonts.googleapis.com/css?family=Montserrat:400,700','http://fonts.googleapis.com/css?family=Lato:300,400,700,900') | |
- scripts.push("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css") | |
each script in scripts | |
link(href=script rel='stylesheet' type='text/css') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
because push comes from plain javascript, see here https://github.com/pugjs/jade/issues/502 , comment from TJ