foolip/microdatajs — pull request #4 by hassansin (2014-08-19 11:58:20+00:00)
Title: itemscope attribute checking

replaced `getAttribute('itemscope') != ''` with `hasAttribute('itemscope')`

I recently bumped into this site: http://www.hungry-girl.com/recipes/american-buffalo-chicken-pizza where it is using invalid microdata like `itemscope=''` attribute. using `hasAttribute` fixed the issue. Let me know if there is any better solution.