MCPcopy Create free account
hub / github.com/JsAaron/jQuery / show

Function show

2.1.1/test/show.js:1–12  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

1function show(data) {
2 if (!data) {
3 return $("body").append('</br>')
4 }
5 if (typeof data === 'object') {
6 for (var key in data) {
7 $("body").append('<li>key->' + key + '; value->'+ data[key] +'</li>')
8 }
9 } else {
10 $("body").append('<li>' + data + '</li>')
11 }
12}

Callers

nothing calls this directly

Calls 1

$Function · 0.85

Tested by

no test coverage detected