Parent Directory | Revision Log
added upstream Joose r4755 http://code2.0beta.co.uk/moose/svn/Joose/trunk/lib
1 | Class("Joose.ClassMethod", { |
2 | isa: Joose.Method, |
3 | methods: { |
4 | isClassMethod: function () { return true }, |
5 | addToClass: function (c) { |
6 | c[this.getName()] = this.asFunction() |
7 | }, |
8 | |
9 | copy: function () { |
10 | return new Joose.ClassMethod(this.getName(), this.getBody(), this.getProps()) |
11 | } |
12 | } |
13 | }) |
ViewVC Help | |
Powered by ViewVC 1.1.26 |