Commit Graph

180 Commits

Author SHA1 Message Date
kikito
ee01d309cd fix travis.yml 2013-09-17 21:05:47 +02:00
kikito
157ebac7e7 ported tests to busted 2013-09-17 20:55:50 +02:00
kikito
f5aac38418 made includes a private method 2013-09-17 01:14:57 +02:00
kikito
3ac8aa167f fixed the rest of the tests 2013-09-17 01:06:24 +02:00
kikito
583a3d29e1 fixed subclasOf_spec 2013-09-17 01:04:54 +02:00
kikito
1be9e39deb fixed isInstanceOf 2013-09-17 00:48:47 +02:00
kikito
219550cd58 started working on 3.0 2013-09-16 10:37:56 +02:00
kikito
cd9609e1ae made Object non-global 2013-09-15 23:18:08 +02:00
kikito
88e84d13c2 made class non-global 2013-09-15 23:14:00 +02:00
kikito
491eb44628 if walks like a class and talks like a class, it is a class 2013-09-15 23:03:35 +02:00
kikito
f107a68a20 added header to middleclass, and returned it 2013-09-15 15:51:49 +02:00
Enrique García
6efb8434f9 Update README.textile 2013-01-02 01:57:39 +01:00
Enrique García
00640aceea Update .travis.yml 2013-01-02 01:54:26 +01:00
Enrique García
2afe04c1ce Create .travis.yml 2013-01-01 16:51:09 -08:00
Enrique García
e0736393c7 Merge pull request #16 from qaisjp/patch-1
Spelling mistakes
2012-10-17 10:48:29 -07:00
qaisjp
cb4de2ec63 Spelling mistakes
TEST SWEET.
> commant
2012-10-17 17:17:45 +02:00
Enrique García
7ac7ce299d small typo in README 2012-01-06 10:37:03 +01:00
Enrique García Cota
28e99e2e41 delete init.lua
fixes #13
2012-01-06 10:31:27 +01:00
Enrique García Cota
1a5d4c88fc Updated changelog 2011-09-19 00:37:53 +02:00
Enrique García Cota
1c3fceddde added changelog.txt 2011-09-19 00:35:33 +02:00
Enrique García Cota
ef4943d3d2 Updated README 2011-09-19 00:32:57 +02:00
Enrique García Cota
04ffc69a5e added license directly to middleclass.lua 2011-09-19 00:32:17 +02:00
Enrique García Cota
81f9c175a0 changed from BSD to MIT license 2011-09-19 00:24:00 +02:00
Enrique García Cota
3f9ae1d6e8 merged branch 2.0 2011-09-19 00:21:14 +02:00
Enrique García Cota
c2e4fce043 mixins now support static methods 2011-09-18 17:40:50 +02:00
Enrique García Cota
2271813323 added performance tests 2011-09-18 16:42:57 +02:00
Enrique García Cota
1df9ccf178 added list of subclasses per class 2011-08-14 18:39:57 +02:00
Enrique García Cota
252b63f8f6 removed mixin parameters. Added possibility of including several mixins simultaneously 2011-08-14 18:07:44 +02:00
Enrique García Cota
21735533d5 updated README, removed unused lines 2011-08-14 00:17:29 +02:00
Enrique García Cota
69d469b67a added subclassed hook method 2011-08-14 00:08:33 +02:00
Enrique García Cota
6c9f6a0074 added mixin support 2011-08-13 23:58:55 +02:00
Enrique García Cota
ce3be2d45b Class.superclass -> Class.super . YEAH 2011-08-13 03:38:31 +02:00
Enrique García Cota
af03b4f6d8 fixed error in Object_spec that made other tests fail in some cases. Added some minor optimizations & fixes 2011-08-13 03:12:21 +02:00
Enrique García Cota
da557bb207 split tests more. refactorized class creation. included metamethod support 2011-08-12 10:33:58 +02:00
Enrique García Cota
90bef60d86 fixed test with Object() 2011-08-11 11:36:23 +02:00
Enrique Garcia Cota
40e14838a2 added instanceOf and subclassOf, as well as splitted into more files. Having issues with Object() (call metamethod) 2011-08-10 21:45:15 +02:00
Enrique García Cota
02f5f05b6a class methods and attributes work. Object spec is nearly finished 2011-08-09 00:06:05 +02:00
Enrique García Cota
0e637ea8da separated into more files added instancemethods and attributes 2011-08-08 23:59:23 +02:00
Enrique García Cota
fc682e12dd initial implementation of allocate and new done 2011-08-08 23:18:15 +02:00
Enrique García Cota
7487c9ba79 added the initial subclass implementation. renamed Class.class to Class.static 2011-08-08 22:29:18 +02:00
Enrique García Cota
3461767eba discarded static() approach due to syntax error. Using Class.class for static variables 2011-08-08 07:38:11 +02:00
Enrique García Cota
25fcd5e030 bootstrapping and little else 2011-08-08 00:07:02 +02:00
Enrique García Cota
dfca999da4 initial commit 2011-08-07 00:56:13 +02:00
Enrique García Cota
268004682c renamed "module" to "mixin" 2011-08-07 00:48:13 +02:00
Enrique García Cota
30b6195435 made the __metamethods table part of Object, so it can be reused in mixins 2011-04-14 00:33:42 +02:00
Enrique García Cota
01f2248ce1 small fix on Object.include param check 2011-04-12 00:00:40 +02:00
Enrique García
f775d375e3 changed date on initial comment. fixes #10 2011-04-06 15:28:35 +02:00
Michael Ebens
120b34c073 Fixed a few things in the README. 2011-04-04 11:23:32 +10:00
Enrique García
08076c765d preparing v1.4 tag 2011-03-30 20:34:15 +02:00
Enrique García
060886ee90 made allocate overridable by subclasses and mixins 2011-03-30 20:28:56 +02:00