injectorjs
v0.1.0
Published
a javascript dependency injection library
Downloads
4
Readme
injectorjs
a javascript dependency injection library
Installtion
Case
var node = html2dom('<td><span>123</span></td>');
node.tagName; // 'td'
node.innerHTML; // '<span>123</span>'
var nodes = html2dom('<div>1</div><p>2</p>');
nodes.length; // 2
nodes[1].tagName; // 'p'
Test
Using karma as test runner, jasmine for test case.
Prepare for test:
npm install
To test:
npm test
LICENSE
MIT