fis-kernel
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -215,3 +215,12 @@ /* | ||
}); | ||
m = $1 + (embed || extJs($2)); | ||
if(embed){ | ||
//embed file | ||
m = $1 + embed; | ||
} else if(!/\s+type\s*=/i.test($1) || /\s+type\s*=\s*(['"]?)text\/javascript\1/i.test($1)) { | ||
//without attrubite [type] or must be [text/javascript] | ||
m = $1 + extJs($2); | ||
} else { | ||
//other type as html | ||
m = $1 + extHtml($2); | ||
} | ||
} else if($3){//<style> | ||
@@ -218,0 +227,0 @@ m = $3 + extCss($4); |
@@ -146,3 +146,3 @@ /* | ||
if(this.release){ | ||
release = this.release.replace(/[\/\\]+/, '/'); | ||
release = this.release.replace(/[\/\\]+/g, '/'); | ||
if(release[0] !== '/'){ | ||
@@ -149,0 +149,0 @@ release = '/' + release; |
{ | ||
"name" : "fis-kernel", | ||
"description" : "fis kernel.", | ||
"version" : "1.8.1", | ||
"version" : "1.8.2", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
72416
2203