提交 e78da330 编写于 作者: M Mr.doob

Examples: Simplified tags code.

上级 c3f58ff8
......@@ -249,9 +249,8 @@
var link = links[ file ];
var name = getName( file );
var matchCandidates = ( tags[ file ] || [] ).slice();
matchCandidates.push( file );
var res = matchCandidates.join( ' ' ).match( exp );
if ( file in tags ) file += tags[ file ].join( ' ' );
var res = file.match( exp );
var text;
if ( res && res.length > 0 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册