mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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,7 +4,6 @@ var paper = {
|
||||||
|
|
||||||
install: function(scope) {
|
install: function(scope) {
|
||||||
for (var i in paper) {
|
for (var i in paper) {
|
||||||
if (!scope[i])
|
|
||||||
scope[i] = paper[i];
|
scope[i] = paper[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue