mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Let paper.install() override existing values...
This commit is contained in:
parent
cbe29fd02b
commit
08970abd6d
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@ var paper = {
|
|||
|
||||
install: function(scope) {
|
||||
for (var i in paper) {
|
||||
if (!scope[i])
|
||||
scope[i] = paper[i];
|
||||
scope[i] = paper[i];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue