Remove Node.js specific bug-fix by msand again, since code won't be executed on Node anymore.

This commit is contained in:
Jürg Lehni 2013-11-26 23:41:24 +01:00
parent f224bb3e86
commit c18a5e6ffb

View file

@ -219,7 +219,7 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
function handleAttribute(name) {
name += 'Attribute';
return function(el, attr) {
return el[name] && (el[name](attr) || el[name]('data-paper-' + attr));
return el[name](attr) || el[name]('data-paper-' + attr);
};
}