Skip to content

Commit

Permalink
fixed css tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gyk001 committed Aug 31, 2016
1 parent 21123fc commit a355f74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ var qnJsTag = function(args,content){

var qnCssTag = function(args,content){
var cssName = args[0];
var jsAttr = parseAttrs(args);
cssName.src = [cssPrefix,'/', cssName].join('');
cssName.rel = 'stylesheet';
cssName.type = 'text/css';
return htmlTag('link', cssName);
var cssAttr = parseAttrs(args);
cssAttr.src = [cssPrefix,'/', cssName].join('');
cssAttr.rel = 'stylesheet';
cssAttr.type = 'text/css';
return htmlTag('link', cssAttr);
};

var qnJsHelper = function(path){
Expand Down

0 comments on commit a355f74

Please sign in to comment.