mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 17:02:24 -05:00
Use a Base object for PaperScope#settings and update straps.js to version that offers Base#set().
This commit is contained in:
parent
1f7cb30fa5
commit
d12607dd44
3 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
"test"
|
||||
],
|
||||
"devDependencies": {
|
||||
"straps": "~1.5.1",
|
||||
"straps": "~1.5.2",
|
||||
"acorn": "git://github.com/paperjs/acorn#0.3.2",
|
||||
"esprima": "~1.0.3",
|
||||
"stats.js": "r11"
|
||||
|
|
|
@ -48,11 +48,11 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
|||
// one.
|
||||
paper = this;
|
||||
// Default configurable settings.
|
||||
this.settings = {
|
||||
this.settings = new Base({
|
||||
applyMatrix: true,
|
||||
handleSize: 4,
|
||||
hitTolerance: 0
|
||||
};
|
||||
});
|
||||
this.project = null;
|
||||
this.projects = [];
|
||||
this.tools = [];
|
||||
|
|
|
@ -87,7 +87,7 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{
|
|||
},
|
||||
|
||||
/**
|
||||
* The curve by which the location is defined.
|
||||
* The curve that this location belongs to.
|
||||
*
|
||||
* @type Curve
|
||||
* @bean
|
||||
|
|
Loading…
Reference in a new issue