Prebuilt module for commit ae9ff56260

This commit is contained in:
Paper.js Bot 2016-04-05 06:34:57 +00:00
parent 05cf664ae2
commit db4aa4866a
5 changed files with 10 additions and 10 deletions

View file

@ -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
View file

@ -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;
},

File diff suppressed because one or more lines are too long

4
dist/paper-full.js vendored
View file

@ -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;
},

File diff suppressed because one or more lines are too long