Jürg Lehni
|
84b1d865c1
|
Remove unused variable.
|
2011-05-20 14:08:04 +01:00 |
|
Jürg Lehni
|
26269d394a
|
Rename project/ProjectView -> ui/View.
|
2011-05-17 13:29:07 +01:00 |
|
Jürg Lehni
|
7b4dd222ac
|
Completely decouple ProjectView from Project.
|
2011-05-17 13:25:46 +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 |
|
Jürg Lehni
|
9f34042bae
|
Fix comment.
|
2011-05-16 11:19:47 +01:00 |
|
Jürg Lehni
|
71bf4fdbca
|
Two forms of scoping are required when evaluating PaperScripts: with(){} and a function scope, so local vars are not trying to override properties on the scope through with(){} (e.g. var view = ...).
|
2011-05-16 11:00:33 +01:00 |
|
Jürg Lehni
|
98a59a3011
|
Rename PaperScript#run() to #evaluate() and add it to PaperScope too.
|
2011-05-16 01:22:06 +01:00 |
|
Jürg Lehni
|
c403dccea3
|
Expose capability to run PaperScripts from script tags.
|
2011-05-16 00:57:13 +01:00 |
|
Jürg Lehni
|
593813660a
|
Associate PaperScope objects with the script tag that produced them through an assigned unique id.
|
2011-05-16 00:29:29 +01:00 |
|
Jürg Lehni
|
690a79722f
|
Add alternative code for setting handler on tool that does not rely on eval(), commented out for now.
|
2011-05-15 23:56:41 +01:00 |
|
Jürg Lehni
|
535e5fc5fc
|
Add support for onResize handler.
|
2011-05-15 23:46:34 +01:00 |
|
Jürg Lehni
|
c1dc823706
|
Move onFrame handler to DocumentView.
|
2011-05-15 23:37:40 +01:00 |
|
Jürg Lehni
|
f69b0a404a
|
Remove unused #document from Tool.
|
2011-05-15 22:45:15 +01:00 |
|
Jürg Lehni
|
36c9286ca9
|
Add #count to onFrame() event.
|
2011-05-15 18:08:41 +01:00 |
|
Jürg Lehni
|
06f16d0c2a
|
Define a unique id for each PaperScript.
|
2011-05-15 11:32:42 +01:00 |
|
Jürg Lehni
|
064f3e05d3
|
Simplify paper scope switching code for now, as key handling code depends on paper object to always point to a valid one. This is a workaround, rethinking of how key handling should be distributed across multiple instances within one page is required.
|
2011-05-14 20:08:14 +01:00 |
|
Jürg Lehni
|
01fdeb270b
|
Move PaperScript.js to core.
|
2011-05-14 17:22:49 +01:00 |
|