mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Bump version to v0.9.20
This commit is contained in:
parent
99b06b061c
commit
73751040b7
9 changed files with 415 additions and 400 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper",
|
"name": "paper",
|
||||||
"version": "0.9.19",
|
"version": "0.9.20",
|
||||||
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "http://paperjs.org",
|
"homepage": "http://paperjs.org",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper",
|
"name": "paper",
|
||||||
"version": "0.9.19",
|
"version": "0.9.20",
|
||||||
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repo": "paperjs/paper.js",
|
"repo": "paperjs/paper.js",
|
||||||
|
|
11
dist/paper-core.js
vendored
11
dist/paper-core.js
vendored
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* Paper.js v0.9.19 - The Swiss Army Knife of Vector Graphics Scripting.
|
* Paper.js v0.9.20 - The Swiss Army Knife of Vector Graphics Scripting.
|
||||||
* http://paperjs.org/
|
* http://paperjs.org/
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
|
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Sat Aug 16 18:31:16 2014 +0200
|
* Date: Mon Aug 25 14:21:13 2014 +0200
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -716,7 +716,7 @@ var PaperScope = Base.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
version: '0.9.19',
|
version: '0.9.20',
|
||||||
|
|
||||||
getView: function() {
|
getView: function() {
|
||||||
return this.project && this.project.getView();
|
return this.project && this.project.getView();
|
||||||
|
@ -4905,8 +4905,7 @@ var HitResult = Base.extend({
|
||||||
center: false,
|
center: false,
|
||||||
bounds: false,
|
bounds: false,
|
||||||
guides: false,
|
guides: false,
|
||||||
selected: false,
|
selected: false
|
||||||
callback: null
|
|
||||||
}, options);
|
}, options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10603,6 +10602,8 @@ var View = Base.extend(Callback, {
|
||||||
_id: 0,
|
_id: 0,
|
||||||
|
|
||||||
create: function(project, element) {
|
create: function(project, element) {
|
||||||
|
if (typeof element === 'string')
|
||||||
|
element = document.getElementById(element);
|
||||||
return new CanvasView(project, element);
|
return new CanvasView(project, element);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
12
dist/paper-core.min.js
vendored
12
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
71
dist/paper-full.js
vendored
71
dist/paper-full.js
vendored
File diff suppressed because one or more lines are too long
16
dist/paper-full.min.js
vendored
16
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
13
dist/paper-node.js
vendored
13
dist/paper-node.js
vendored
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* Paper.js v0.9.19 - The Swiss Army Knife of Vector Graphics Scripting.
|
* Paper.js v0.9.20 - The Swiss Army Knife of Vector Graphics Scripting.
|
||||||
* http://paperjs.org/
|
* http://paperjs.org/
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
|
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Sat Aug 16 18:31:16 2014 +0200
|
* Date: Mon Aug 25 14:21:13 2014 +0200
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -706,7 +706,7 @@ var PaperScope = Base.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
version: '0.9.19',
|
version: '0.9.20',
|
||||||
|
|
||||||
getView: function() {
|
getView: function() {
|
||||||
return this.project && this.project.getView();
|
return this.project && this.project.getView();
|
||||||
|
@ -4910,8 +4910,7 @@ var HitResult = Base.extend({
|
||||||
center: false,
|
center: false,
|
||||||
bounds: false,
|
bounds: false,
|
||||||
guides: false,
|
guides: false,
|
||||||
selected: false,
|
selected: false
|
||||||
callback: null
|
|
||||||
}, options);
|
}, options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10024,7 +10023,7 @@ var jsdom = require('jsdom'),
|
||||||
domToHtml = require('jsdom/lib/jsdom/browser/domtohtml').domToHtml,
|
domToHtml = require('jsdom/lib/jsdom/browser/domtohtml').domToHtml,
|
||||||
Canvas = require('canvas'),
|
Canvas = require('canvas'),
|
||||||
document = jsdom.jsdom('<html><body></body></html>'),
|
document = jsdom.jsdom('<html><body></body></html>'),
|
||||||
window = document.createWindow(),
|
window = document.parentWindow,
|
||||||
navigator = window.navigator,
|
navigator = window.navigator,
|
||||||
HTMLCanvasElement = Canvas,
|
HTMLCanvasElement = Canvas,
|
||||||
Image = Canvas.Image;
|
Image = Canvas.Image;
|
||||||
|
@ -12090,7 +12089,7 @@ Base.exports.PaperScript = (function() {
|
||||||
code = compile(code, url, options);
|
code = compile(code, url, options);
|
||||||
function expose(scope, hidden) {
|
function expose(scope, hidden) {
|
||||||
for (var key in scope) {
|
for (var key in scope) {
|
||||||
if ((hidden || !/^_/.test(key)) && new RegExp('[\\b\\s\\W]'
|
if ((hidden || !/^_/.test(key)) && new RegExp('([\\b\\s\\W]|^)'
|
||||||
+ key.replace(/\$/g, '\\$') + '\\b').test(code)) {
|
+ key.replace(/\$/g, '\\$') + '\\b').test(code)) {
|
||||||
params.push(key);
|
params.push(key);
|
||||||
args.push(scope[key]);
|
args.push(scope[key]);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper",
|
"name": "paper",
|
||||||
"version": "0.9.19",
|
"version": "0.9.20",
|
||||||
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "http://paperjs.org",
|
"homepage": "http://paperjs.org",
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
// The paper.js version.
|
// The paper.js version.
|
||||||
// NOTE: Adjust value here before calling publish.sh, which then updates and
|
// NOTE: Adjust value here before calling publish.sh, which then updates and
|
||||||
// publishes the various JSON package files automatically.
|
// publishes the various JSON package files automatically.
|
||||||
var version = '0.9.19';
|
var version = '0.9.20';
|
||||||
|
|
||||||
var __options = {
|
var __options = {
|
||||||
// If this file is loaded in the browser, we're in dev mode through load.js
|
// If this file is loaded in the browser, we're in dev mode through load.js
|
||||||
|
|
Loading…
Reference in a new issue