Skip to content

Commit 811a6c7

Browse files
committed
minor
1 parent 05a93ce commit 811a6c7

File tree

2 files changed

+22
-0
lines changed
  • 1-js
    • 3-code-quality/1-debugging-chrome
    • 4-data-structures/10-arguments-pseudoarray

2 files changed

+22
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<style>
2+
span.devtools {
3+
display: inline-block;
4+
background-image: url(/article/debugging-chrome/statusbarButtonGlyphs.svg);
5+
height:16px;
6+
width:16px;
7+
}
8+
</style>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<script>
2+
function copy() {
3+
var dst = arguments[0];
4+
5+
for (var i = 1; i < arguments.length; i++) {
6+
var arg = arguments[i];
7+
for (var key in arg) {
8+
dst[key] = arg[key];
9+
}
10+
}
11+
12+
return dst;
13+
}
14+
</script>

0 commit comments

Comments
 (0)