mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Fix indent.
This commit is contained in:
parent
3b22f185ce
commit
22a918190d
1 changed files with 3 additions and 3 deletions
|
@ -315,9 +315,9 @@ paper.PaperScope.prototype.PaperScript = (function(root) {
|
|||
if (src) {
|
||||
// If we're loading from a source, request that first and
|
||||
// then run later.
|
||||
paper.Http.request('get', src, function(scope, code) {
|
||||
evaluate(code, scope);
|
||||
}.bind(this, scope));
|
||||
paper.Http.request('get', src, function(scope, code) {
|
||||
evaluate(code, scope);
|
||||
}.bind(this, scope));
|
||||
} else {
|
||||
// We can simply get the code form the script tag.
|
||||
evaluate(script.innerHTML, scope);
|
||||
|
|
Loading…
Reference in a new issue