Skip to content

Instantly share code, notes, and snippets.

@canonic-epicure
Created April 29, 2010 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canonic-epicure/384124 to your computer and use it in GitHub Desktop.
Save canonic-epicure/384124 to your computer and use it in GitHub Desktop.
// ================================================
// Using Joose in CommonJS modules
var Class = require('Task/Joose/Core').Class
exports.Circle = Class({
has : {
radius : {
is : 'rw',
init : '123'
}
}
})
var circle = new Circle()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment