Jürg Lehni
4e173a7d35
Switch to the NPM version of PrePro's load.js
2013-06-26 18:57:46 -07:00
Jürg Lehni
1866e4ff15
Remove need for all special arguments in minification, and restructure code to avoid warnings.
2013-06-24 10:15:54 -07:00
Jürg Lehni
a4535edbb9
Bring back _class names, since code minification breaks reliance on constructor.name.
...
Closes #248 .
2013-06-23 20:18:32 -07:00
Jürg Lehni
a163d890e6
Update straps.js
2013-06-12 18:54:34 -07:00
Jürg Lehni
294bfc9c9a
Improve IE Function#name fix and move it to straps.js, since constructor.name is used there too.
...
Cache result and improve RegExp.
2013-06-12 18:36:18 -07:00
Jürg Lehni
612cf396cf
Update straps.js to version 1.1.0
2013-05-28 07:23:32 -07:00
Jürg Lehni
099a5546cb
Update straps.js to latest version.
2013-05-27 18:27:54 -07:00
Jürg Lehni
268003f241
Update to latest straps.js
...
Enabling paper.install(window) again.
2013-05-27 15:25:40 -07:00
Jürg Lehni
0d1df159c4
Update to latest version acorn.js
2013-05-27 14:31:27 -07:00
Jürg Lehni
fef22f25e8
Remove node.js specific version of Base.isPlainObject(), since straps.js can handle it now.
2013-05-27 14:10:38 -07:00
Jürg Lehni
8aec04702c
Update to latest version of straps.js
2013-05-27 13:52:28 -07:00
Jürg Lehni
a33beb0285
Synchronize with latest version on straps.js repo.
2013-05-27 13:46:21 -07:00
Jürg Lehni
a864ef3b3c
Restructure Base.define() / Base.describe() code for easier future removal of legacy support.
2013-05-27 13:36:51 -07:00
Jürg Lehni
10d5de3ed6
Implement a better way to name and export class constructors.
...
This change also simplified the way classes are exported to PaperScope objects.
2013-05-27 12:48:58 -07:00
Jürg Lehni
c533dda7b5
Finally found a better and faster alternative for this.base() calls, by setting base on the function object instead.
...
base can be accessed on named functions very easily, leading to another measurable speed increase. Finally all performance reasons against straps.js are eliminated!
2013-05-27 10:04:05 -07:00
Jürg Lehni
369b329b23
Change straps.js to directly use initialize() as constructor function rather than redirecting calls to it.
...
Should yield some interesting performance improvements.
2013-05-27 09:11:50 -07:00
Jürg Lehni
c70b985911
Make sure the Base class is exposed in Node.js
2013-05-12 14:29:21 -07:00
Jürg Lehni
dd96d67fe1
Further refine Node.js integration.
2013-05-09 16:06:45 -07:00
Jürg Lehni
bc090dcf66
Switch from bootstrap.js to the renamed straps.js
2013-05-08 00:13:02 -07:00
Jürg Lehni
0fe431adfb
Fix issue in Acorn that breaks Node support.
2013-05-07 22:32:43 -07:00
Jürg Lehni
e6f5786261
Update acorn to latest version.
...
Should hopefully solve issues with node.js
2013-05-07 22:01:36 -07:00
Jürg Lehni
e7376b0478
Add support for aliases in Bootstrap.js
2013-05-06 20:55:58 -07:00
Jürg Lehni
dbc07207f7
Minor changes to bootstrap.js
2013-05-05 22:39:59 -07:00
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