aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
diff options
context:
space:
mode:
authorjez2011-01-03 20:30:15 +0800
committerjez2011-01-04 16:16:47 +0800
commit2bc99a6caa157a818647c4411c307ebc630b1dc3 (patch)
treec1af09883771f4fca496b974cc7cbed3748aa005 /lib/utils.js
parenta2e3ac7910630ac1233d91dec58e1f6f5f63f6b9 (diff)
downloadvimium-2bc99a6caa157a818647c4411c307ebc630b1dc3.tar.bz2
Switch from tagName to nodeName and lowercase it when doing checks.
tagName returns 'undefined' for text nodes, so it is less desirable. Non-html documents return nodeName/tagNames in lowercase.
Diffstat (limited to 'lib/utils.js')
0 files changed, 0 insertions, 0 deletions