String

Summary
toElement is unfortunately already taken :/

Functions

makeElement

makeElement: function()

toElement is unfortunately already taken :/

Transforms html string into an extended element or null (when failed)

'<li><a href="#">some text</a></li>'.makeElement(); // => LI href#
'<img src="foo" id="bar" /><img src="bar" id="bar" />'.makeElement(); // => IMG#foo (first one)

Returns

Extended element

makeElement: function()
toElement is unfortunately already taken :/