Skip to content

Commit 22e9083

Browse files
committed
format js
1 parent 063c322 commit 22e9083

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Der.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ Der.getByClass = function(cssName, nodeRefer) {
6161
* cssName:样式名,
6262
* nodeRefer:参照节点[可选]
6363
*/
64-
6564
if (typeof document.getElementsByClassName === "function") { //判断是否原生支持getElementsByClassName
6665
nodeRefer = (nodeRefer) ? nodeRefer : document; //无参照节点则设参照节点为document
6766
return Array.prototype.slice.call(nodeRefer.getElementsByClassName(cssName)); //返回转化为数组的节点集合

0 commit comments

Comments
 (0)