Jürg Lehni
17b81f5f67
Update Acorn.js to v0.1.01
2013-02-24 13:37:45 -08:00
Jürg Lehni
6c9c16ad3d
Update copyright information comments, and year.
2013-01-28 18:03:27 -08:00
Jürg Lehni
24b5f870bd
Change Base.isObject() to also check for instances of plain Base objects, and rename it to Base.isPlainObject().
2012-12-30 17:30:13 +01:00
Jürg Lehni
10385267f9
Remove Base.iterator() functionality, since we don't need it in Paper.js
2012-12-26 14:12:42 +01:00
Jürg Lehni
81b8a57a7c
Improve Base.isObject() to only return true for real "vanilla" JS objects.
2012-12-23 16:21:18 +01:00
Jürg Lehni
734cc1cc61
Undo commit 4445376c0204cb5a2e408c64b77a5b6fa09305ba since it clashes with magnification.
2012-12-21 16:41:57 +01:00
Jürg Lehni
7622493d2e
Update libraries to versions minified with UglifyJS2.
2012-12-18 14:03:41 +01:00
Jürg Lehni
846744d301
Better document new Bootstrap feature.
2012-12-15 19:52:52 +01:00
Jürg Lehni
b535d9f843
Implement new Bootstrap feature that allows hiding of getter parameters to make sure beans are produced, and use it across the library.
2012-12-15 19:51:31 +01:00
Jürg Lehni
4fead5c1ec
Use escaped UTF8 for now, to avoid exceptions on WebKit.
2012-11-23 13:06:13 -08:00
Jürg Lehni
bb5bc4e85a
We don't need parse-js anymore.
2012-11-18 12:50:17 -08:00
Jürg Lehni
302f23bc5a
Update Acorn.js and use it now by default, thanks to Marijn's fast bugfix:
...
https://github.com/marijnh/acorn/issues/14
2012-11-18 12:25:37 -08:00
Jürg Lehni
14642e63b3
Use Acorn's exports mechanism for Esprima, so it works included inside Paper.js
2012-11-18 10:31:40 -08:00
Jürg Lehni
34819e6a73
Switch to using Mozilla's standardized AST model for PaperScript parsing though Acorn.js or Esprima.js and their support for ranges.
...
No more AST mingling but direct code modification means we're finally getting accurate error messages! Sticking to Esprima for now since Acorn still has some issues with ranges: https://github.com/marijnh/acorn/issues/14
2012-11-18 10:06:16 -08:00
Jürg Lehni
32eb10b43b
Define Base.isObject().
2012-11-14 01:31:16 -08:00
Jürg Lehni
b354e01f49
Move Base.equals() to Base extension, where it belongs.
2012-11-06 07:19:04 -08:00
Jürg Lehni
43a7e6cfcc
Further improve Base.equals().
2012-11-05 11:15:41 -08:00
Jürg Lehni
0a537f0712
Fix issues with Base.equals().
2012-11-05 10:56:53 -08:00
Jürg Lehni
b979c3b362
Define Base.equals(), supporting Arrays and Objects.
...
And use it for style comparisons.
2012-11-04 09:00:40 -08:00
Jürg Lehni
9ec5ad29ef
Remove Base.has() in favor of now supported Object#hasOwnProperty.
2012-11-04 08:31:14 -08:00
Jürg Lehni
a51f5af9c8
More Bootstrap.js simplifications.
2012-11-03 22:24:42 -07:00
Jürg Lehni
6ed1d67ada
Modernize Bootstrap.js, introduce Base.create() and use it instead of the Constructor.dont hack for object creation without the calling of initialize.
2012-11-03 21:49:37 -07:00
Jürg Lehni
693b2f3af1
Add acorn.js to lib, for the upcoming switch of JS parsers.
2012-11-03 19:28:18 -07:00
Jürg Lehni
523736d9e5
Handle view redraws correctly for all selection changes.
2012-10-08 23:12:43 -07:00
Jürg Lehni
297daaf577
Update Bootstrap.js to support enumerable on instances.
2012-09-30 20:15:53 -07:00
Jürg Lehni
7c8409d7c2
Do not mess with native prototypes in Bootstrap.js
2011-12-25 16:27:46 +01:00
Jürg Lehni
4106cc3621
Fix prepro.js for Opera by avoiding 'self' as variable name.
2011-11-18 20:08:17 +01:00
Jürg Lehni
e813ffd102
Only check for getters, not setters when deciding wether an object is a simple value or an accesor description. Workaround for a bug where Point is interpreted as accessor due to its #set(x, y) method.
2011-11-11 14:45:16 +01:00
Jürg Lehni
d3241f2540
Port back changes from Parse-js HEAD and merge changes back into non-unicdoe version.
2011-07-31 12:11:22 +01:00
Jürg Lehni
afec10c5bf
Move prepro.js to lib/and include() statements for test units to their own files inside tests/
2011-07-27 22:00:31 +01:00
Jürg Lehni
5e70b106c9
Use only one new-line per top-level code lines.
2011-07-09 09:27:07 +02:00
Jürg Lehni
5655981f6d
Clean up white spaces.
2011-07-07 16:09:02 +02:00
Jürg Lehni
79c0ad8cc5
Update copyright notices.
2011-07-01 12:17:45 +02:00
Jürg Lehni
d95480bc22
Remove trailing white spaces.
2011-07-01 12:01:32 +02:00
Jürg Lehni
230e42ee50
Create new parse-js-unicode.js with latest changes and fixes from HEAD (including unicode suport), and backport other fixes to smaller parse-js.js (except space consuming unicode support).
2011-07-01 11:58:43 +02:00
Jürg Lehni
00f7b3530a
Include new minified version of parse-js and build dist library again.
2011-06-30 14:44:58 +02:00
Jürg Lehni
3e373dfb21
Fix error in parse-js, forgotten in previous renaming.
2011-06-28 16:12:00 +02:00
Jürg Lehni
dcc7d29726
Remove stack trace from JS_Parse_Error, as it will always point to parse-js code.
2011-06-28 10:47:39 +02:00
Jürg Lehni
d96ac85879
Undo a few renames in parse-js, to facilitate porting over of changes.
2011-06-28 10:43:06 +02:00
Jürg Lehni
c6105bace2
Fix white spaces in libs.
2011-06-23 00:21:41 +01:00
Jürg Lehni
3226147e00
Use a version of Bootstrap that always produces beans and remove all beans: true instructions.
2011-06-17 18:42:29 +01:00
Jürg Lehni
ffa79f4fd1
Clean up white spaces in comments.
2011-06-14 22:59:45 +01:00
Jürg Lehni
7c57324b3a
Switch to Bootstrap.js version that is produced by compiling it with CORE_ONLY flag, and adapt Base.js so Base still gets exported.
2011-06-03 21:20:36 +01:00
Jürg Lehni
a0e120ac5c
No need to call has(), since __proto__ is hidden using define().
2011-06-03 13:57:57 +01:00
Jürg Lehni
8e1c030230
Clean up Bootstrap.js micro-lib, synchronize Paper.js sepcific changes with Bootstrap.js project and bring over comments.
2011-06-03 13:42:50 +01:00
Jürg Lehni
6854f7d026
Update comments in bootstrap.js.
2011-05-19 18:33:34 +01:00
Jürg Lehni
ed2ef0231f
Have ctor functions be unnamed, so they don't show as 'ctor' prototypes in debugging.
2011-05-14 20:06:25 +01:00
Jürg Lehni
cca62beac3
lowercase Stats.js lib.
2011-05-06 13:47:17 +01:00
Jonathan Puckey
3e3e519bfe
Add Stats.js to lib.
2011-05-05 20:29:10 +01:00
Jürg Lehni
4d999d57e2
Replace all type converting string compares with ===, !==.
2011-04-28 13:23:17 +01:00