Commit graph

30 commits

Author SHA1 Message Date
Jürg Lehni
7c8409d7c2 Do not mess with native prototypes in Bootstrap.js 2011-12-25 16:27:46 +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
5655981f6d Clean up white spaces. 2011-07-07 16:09:02 +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
4d999d57e2 Replace all type converting string compares with ===, !==. 2011-04-28 13:23:17 +01:00
Jürg Lehni
261fa819d7 Change Bootstrap.js to only make beans if gettes has no function parameters defined, in order to avoid beans for functions that start with get but expect arguments when called. 2011-03-08 17:09:13 +00:00
Jürg Lehni
7956b50886 Use === for undefined comparisons. 2011-03-07 11:52:04 +00:00
Jürg Lehni
e1a7aff2f0 Add copyright notice and license file. 2011-03-07 00:50:44 +00:00
Jürg Lehni
f5d8f24faa Small changes. 2011-03-05 20:43:00 +00:00
Jürg Lehni
737d57db24 Define Base#each in a way so it can be used in future Bootstrap changes for Hash and Array. 2011-03-05 20:39:30 +00:00
Jürg Lehni
736b79fa29 Further optimise / clean-up Bootstrap core. 2011-03-05 20:07:58 +00:00
Jürg Lehni
8e25a951bc Move Base.capitalize() and Base.read() out of Bootstrap core into Paper.js, so normal Bootstrap libs can work with it too. 2011-03-05 14:17:17 +00:00
Jürg Lehni
352b3f0d40 More work on Bootstrap core, move Base.isArray back to Array.isArray. 2011-03-05 13:53:18 +00:00
Jürg Lehni
7b237ceedc Further clean-up Bootstrap code. 2011-03-04 22:22:22 +00:00
Jürg Lehni
c25db2377f Clean up Bootstrap core further and move Base.capitalize there. 2011-03-04 22:14:23 +00:00
Jürg Lehni
84790780e3 Change Bootstrap core so no standard prototypes are modified, not even Function.prototype. 2011-03-04 22:02:40 +00:00
Jürg Lehni
8a61599c7d More work on Bootstrap core. 2011-03-04 21:46:50 +00:00
Jürg Lehni
9bd8950e33 Make sure Base object is scoped locally. 2011-03-04 21:38:42 +00:00
Jürg Lehni
630c3431d8 Commit hand-crafted Bootstrap core, changes that need to be backported to the full Bootstrap later. 2011-03-04 21:37:58 +00:00
Jürg Lehni
101cb11973 Change Base.read to not return an object if only null is provided. 2011-03-04 19:06:05 +00:00
Jürg Lehni
bbf19840d3 Fix Base.read() to support alternative objcets returned by initialize(). 2011-03-04 17:01:15 +00:00
Jürg Lehni
c6d79f964c Generalise all read() functions in Base.read(), fix an issue in by making sure arguments passed to initialie are never larger than length, and have Color's initialize create an RGBColor, to still be able to use Color.read(). 2011-03-04 13:19:07 +00:00
Jürg Lehni
a543801598 Rename Bootstrap.js file to lowercase bootstrap.js. 2011-03-03 16:56:31 +00:00
Renamed from lib/Bootstrap.js (Browse further)