/[Frey]/trunk/static/lib/Joose/ClassMethod.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/static/lib/Joose/ClassMethod.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 46 - (hide annotations)
Wed Jul 2 10:28:49 2008 UTC (15 years, 11 months ago) by dpavlin
File MIME type: application/javascript
File size: 360 byte(s)
added upstream Joose r4755

http://code2.0beta.co.uk/moose/svn/Joose/trunk/lib
1 dpavlin 46 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