Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,15 +441,15 @@ function block(name, html) {
// bound to scripts Block in renderFile
function script(path, type) {
if (path) {
this.append('<script src="'+path+'"'+(type ? 'type="'+type+'"' : '')+'></script>');
this.append('<script src="'+path+'"'+(type ? ' type="'+type+'"' : '')+'></script>');
}
return this;
}

// bound to stylesheets Block in renderFile
function stylesheet(path, media) {
if (path) {
this.append('<link rel="stylesheet" href="'+path+'"'+(media ? 'media="'+media+'"' : '')+' />');
this.append('<link rel="stylesheet" href="'+path+'"'+(media ? ' media="'+media+'"' : '')+' />');
}
return this;
}
Expand Down