mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit ae9ff56260
This commit is contained in:
parent
05cf664ae2
commit
db4aa4866a
5 changed files with 10 additions and 10 deletions
4
dist/docs/assets/js/paper.js
vendored
4
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Apr 4 23:26:43 2016 -0700
|
||||
* Date: Mon Apr 4 23:30:53 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -830,7 +830,7 @@ var PaperScope = Base.extend({
|
|||
},
|
||||
|
||||
resolvePath: function(url) {
|
||||
return this.agent.node && !/^(?:[a-z]+:)?\/\//i.test(url)
|
||||
return url && this.agent.node && !/^[a-z]+:/i.test(url)
|
||||
? 'file://' + require('path').resolve(url) : url;
|
||||
},
|
||||
|
||||
|
|
4
dist/paper-core.js
vendored
4
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Apr 4 23:26:43 2016 -0700
|
||||
* Date: Mon Apr 4 23:30:53 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -830,7 +830,7 @@ var PaperScope = Base.extend({
|
|||
},
|
||||
|
||||
resolvePath: function(url) {
|
||||
return this.agent.node && !/^(?:[a-z]+:)?\/\//i.test(url)
|
||||
return url && this.agent.node && !/^[a-z]+:/i.test(url)
|
||||
? 'file://' + require('path').resolve(url) : url;
|
||||
},
|
||||
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/paper-full.js
vendored
4
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Apr 4 23:26:43 2016 -0700
|
||||
* Date: Mon Apr 4 23:30:53 2016 -0700
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -830,7 +830,7 @@ var PaperScope = Base.extend({
|
|||
},
|
||||
|
||||
resolvePath: function(url) {
|
||||
return this.agent.node && !/^(?:[a-z]+:)?\/\//i.test(url)
|
||||
return url && this.agent.node && !/^[a-z]+:/i.test(url)
|
||||
? 'file://' + require('path').resolve(url) : url;
|
||||
},
|
||||
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue