Jürg Lehni
|
a45340d20f
|
Revert previous change since arguments.length is wrong when parameters are undefined when using Function#call.
|
2011-06-20 14:37:09 +01:00 |
|
Jürg Lehni
|
5ce49e6f8f
|
Merge remote-tracking branch 'origin/master'
|
2011-06-20 14:26:05 +01:00 |
|
Jürg Lehni
|
2c68e7e58f
|
Use faster Function#call() when arguments are clear.
|
2011-06-20 14:25:27 +01:00 |
|
Jonathan Puckey
|
e23282fe05
|
Documentation: convert Array return types to Type[].
|
2011-06-20 15:19:08 +02:00 |
|
Jürg Lehni
|
596cc8f83b
|
Implement #_needsRedraw() mechanism in PaperScope and Project, to notify Views of redraws required by changes in appearance.
|
2011-06-19 23:03:18 +01:00 |
|
Jürg Lehni
|
f0bc3f115b
|
Have all visual changes include ChangeFlags.APPEARANCE.
|
2011-06-19 22:20:28 +01:00 |
|
Jürg Lehni
|
2594a41b7d
|
Remove the mention of optional parameters in documentation, as they are marked optional already.
|
2011-06-19 21:52:52 +01:00 |
|
Jürg Lehni
|
cb61e8d452
|
Implement rest of ChangeFlags.HIERARCHY notifications.
|
2011-06-19 21:49:26 +01:00 |
|
Jürg Lehni
|
bf627d9d9c
|
Remove all beans: true settings.
|
2011-06-19 18:54:41 +01:00 |
|
Jürg Lehni
|
7d2f10f22b
|
Rename private move() -> insert(), to reflect recent name changes.
|
2011-06-19 18:50:23 +01:00 |
|
Jürg Lehni
|
f474bd9085
|
No need to redefine deprecated #moveAbove()/Below(), since they're redirecting to #insertAbove()/Below().
|
2011-06-19 17:33:28 +01:00 |
|
Jürg Lehni
|
812d3fb366
|
Rename #_removeFromParent() -> #_remove().
|
2011-06-19 17:32:43 +01:00 |
|
Jürg Lehni
|
4eb6d78f1f
|
Have #_removeFromParent() handle deselection and change notification.
|
2011-06-19 17:30:47 +01:00 |
|
Jonathan Puckey
|
6fc08c6417
|
Item: implement #addChild(item), #insertChild(index, item), #insertAbove(item) and #insertBelow(item) Deprecate: #moveAbove, #moveBelow, #appendTop, #appendBottom.
|
2011-06-17 16:58:41 +02:00 |
|
Jürg Lehni
|
cb463b74f5
|
Fix @extends tags in documentation: Only the immediately following class is required.
|
2011-06-16 21:43:31 +01:00 |
|
Jonathan Puckey
|
17fcb923ff
|
Documentation: rearrange @example tags, improve examples, rename boolean -> Boolean and misc smaller edits.
|
2011-05-30 19:42:17 +02:00 |
|
Jonathan Puckey
|
1520cad144
|
Documentation: capitalize basic types in @ tags.
|
2011-05-27 21:21:49 +02:00 |
|
Jonathan Puckey
|
ca3230c1ad
|
Documentation: reorder functions, add group titles and todos.
|
2011-05-27 13:28:13 +02:00 |
|
Jonathan Puckey
|
d0ecd6a4ad
|
Layer: small edit to constructor docs.
|
2011-05-23 17:02:22 +02:00 |
|
Jonathan Puckey
|
59af5343b5
|
Add Layer documentation.
|
2011-05-23 17:00:37 +02:00 |
|
Jürg Lehni
|
b461368b18
|
Found a clean way for Layer#initialize() to call this.base() too, without implicitely calling paper.project.activeLayer.appendTop.
|
2011-05-21 01:05:22 +01:00 |
|
Jürg Lehni
|
e5f8ee0464
|
Write comment about calling base() from Layer#initialize().
|
2011-05-17 13:14:23 +01:00 |
|
Jürg Lehni
|
cfe968d30e
|
Rename Document -> Project, DocumentView -> ProjectView, paper.document -> paper.project and paper.documents -> paper.projects, to avoid name clashing with window.document.
|
2011-05-16 13:33:15 +01:00 |
|
Jonathan Puckey
|
d998cd30f3
|
Add support for accessing items by name through their parent's children list.
|
2011-05-15 19:12:27 +02:00 |
|
Jürg Lehni
|
0bab694a01
|
Rename Item#children to private Item#_children and add #getChildren getter.
|
2011-05-14 18:07:10 +01:00 |
|
Jürg Lehni
|
25c2d68f37
|
Switch to Item#_parent / #getParent() as property is read-only.
|
2011-05-14 17:56:14 +01:00 |
|
Jürg Lehni
|
a775e66632
|
Do not use #splice() for the initial push to the documents / children list.
|
2011-05-14 12:42:52 +03:00 |
|
Jürg Lehni
|
20409f3084
|
Use Base.splice() for Layers too.
|
2011-05-07 17:27:19 +01:00 |
|
Jürg Lehni
|
3ff2880ca8
|
Make Item#setDocument() and #removeFromParent() private.
|
2011-05-07 14:50:48 +01:00 |
|
Jürg Lehni
|
2f6fbcba74
|
Check result from removeFromParent().
|
2011-05-07 14:34:57 +01:00 |
|
Jonathan Puckey
|
41120cf4d9
|
Various small code cleanups.
|
2011-05-02 12:23:42 +02:00 |
|
Jonathan Puckey
|
517793c48a
|
Implement Item#get/setDocument and Document#selectedItems.
|
2011-04-21 15:47:00 +02:00 |
|
Jürg Lehni
|
6a67052090
|
Update copyright / licensing comments.
|
2011-03-08 01:41:50 +00:00 |
|
Jürg Lehni
|
e1a7aff2f0
|
Add copyright notice and license file.
|
2011-03-07 00:50:44 +00:00 |
|
Jürg Lehni
|
a365bf45a4
|
Apply the same optimisation from previous commit to Layer.
|
2011-03-05 01:53:32 +00:00 |
|
Jürg Lehni
|
be6d60102c
|
Make sure Item#children is always checked for != null and simplify many of the DOM methods.
|
2011-03-04 21:34:14 +00:00 |
|
Jürg Lehni
|
92bf51a7cc
|
Simplify the way the paper namespace is created and populated.
|
2011-03-04 13:34:31 +00:00 |
|
Jürg Lehni
|
2b6dede883
|
Clean up white-spaces and line lengths.
|
2011-03-03 22:45:17 +00:00 |
|
Jürg Lehni
|
d088dc629e
|
Rename Paper to paper, implement it as an object literal and add paper.populate() and paper.install() methods that do the bootstraping.
|
2011-03-03 16:21:17 +00:00 |
|
Jürg Lehni
|
941c3c7346
|
Declare all classes as local variables, so they can be scoped.
|
2011-03-03 13:33:41 +00:00 |
|
Jonathan Puckey
|
357a8af6ec
|
Clean up white spaces.
|
2011-02-21 03:32:39 +01:00 |
|
Jonathan Puckey
|
a1bec86333
|
Have Layer extend Group.
|
2011-02-19 18:09:14 +01:00 |
|
Jonathan Puckey
|
3e2b4adc27
|
Layer: implement moveAbove / moveBelow / nextSibling / previousSibling
|
2011-02-16 18:55:12 +01:00 |
|
Jürg Lehni
|
8a0a0712cd
|
Add Layer#index to override Item#index.
|
2011-02-16 00:18:58 +00:00 |
|
Jürg Lehni
|
08d4826441
|
Reformating code to follow Scriptotgrapher coding conventions.
|
2011-02-13 16:26:24 +00:00 |
|
Jonathan Puckey
|
c0e2101c32
|
Clean up src directory and move Bootstrap.js into lib.
|
2011-02-12 17:59:39 +01:00 |
|