mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Remove Node.js specific bug-fix by msand again, since code won't be executed on Node anymore.
This commit is contained in:
parent
f224bb3e86
commit
c18a5e6ffb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue