Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

yields/empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

empty

empty an element.

Installation

$ component install yields/empty

Example

var el = document.createElement('div');
el.appendChild(document.createElement('ul'));
assert('' == empty(el).innerHTML);

License

MIT

About

empty an element.

Resources

Stars

Watchers

Forks

Packages

No packages published