Bump version to v0.9.20

This commit is contained in:
Jürg Lehni 2014-08-25 14:48:05 +02:00
parent 99b06b061c
commit 73751040b7
9 changed files with 415 additions and 400 deletions

View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.9.19",
"version": "0.9.20",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"license": "MIT",
"homepage": "http://paperjs.org",

View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.9.19",
"version": "0.9.20",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"license": "MIT",
"repo": "paperjs/paper.js",

11
dist/paper-core.js vendored
View file

@ -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/
*
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
@ -9,7 +9,7 @@
*
* 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() {
return this.project && this.project.getView();
@ -4905,8 +4905,7 @@ var HitResult = Base.extend({
center: false,
bounds: false,
guides: false,
selected: false,
callback: null
selected: false
}, options);
}
}
@ -10603,6 +10602,8 @@ var View = Base.extend(Callback, {
_id: 0,
create: function(project, element) {
if (typeof element === 'string')
element = document.getElementById(element);
return new CanvasView(project, element);
}
}

File diff suppressed because one or more lines are too long

71
dist/paper-full.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

13
dist/paper-node.js vendored
View file

@ -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/
*
* Copyright (c) 2011 - 2014, Juerg Lehni & Jonathan Puckey
@ -9,7 +9,7 @@
*
* 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() {
return this.project && this.project.getView();
@ -4910,8 +4910,7 @@ var HitResult = Base.extend({
center: false,
bounds: false,
guides: false,
selected: false,
callback: null
selected: false
}, options);
}
}
@ -10024,7 +10023,7 @@ var jsdom = require('jsdom'),
domToHtml = require('jsdom/lib/jsdom/browser/domtohtml').domToHtml,
Canvas = require('canvas'),
document = jsdom.jsdom('<html><body></body></html>'),
window = document.createWindow(),
window = document.parentWindow,
navigator = window.navigator,
HTMLCanvasElement = Canvas,
Image = Canvas.Image;
@ -12090,7 +12089,7 @@ Base.exports.PaperScript = (function() {
code = compile(code, url, options);
function expose(scope, hidden) {
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)) {
params.push(key);
args.push(scope[key]);

View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.9.19",
"version": "0.9.20",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"license": "MIT",
"homepage": "http://paperjs.org",

View file

@ -17,7 +17,7 @@
// The paper.js version.
// NOTE: Adjust value here before calling publish.sh, which then updates and
// publishes the various JSON package files automatically.
var version = '0.9.19';
var version = '0.9.20';
var __options = {
// If this file is loaded in the browser, we're in dev mode through load.js