Commit graph

68 commits

Author SHA1 Message Date
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
Jürg Lehni
b5a3392048 Clean up build scripts and update parse-js-min.js to use uglify instead of google compiler. 2011-04-26 15:53:48 +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
4680283ce7 Simply use document.write() for script loading, as load.js seems not ready for primetime yet (it magically half-broke QUnit on Safari). 2011-03-08 00:58:47 +00:00
Jürg Lehni
de797aa0fe Improve load.js mechanism and make it work for QUnit too. 2011-03-08 00:17:42 +00:00
Jürg Lehni
e32549aaf2 Switch to using load.js for loading the various parts of the library during development. 2011-03-07 18:36:42 +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