($el, content)
| 45 | (function($) { |
| 46 | |
| 47 | function appendContent($el, content) { |
| 48 | if (!content) return; |
| 49 | |
| 50 | // Simple test for a jQuery element |
| 51 | $el.append(content.jquery ? content.clone() : content); |
| 52 | } |
| 53 | |
| 54 | function appendBody($body, $element, opt) { |
| 55 | // Clone for safety and convenience |