Skip to content

Instantly share code, notes, and snippets.

@bergmark
Created October 23, 2010 14:54
Show Gist options
  • Select an option

  • Save bergmark/642301 to your computer and use it in GitHub Desktop.

Select an option

Save bergmark/642301 to your computer and use it in GitHub Desktop.
require('./vendor/CactusJuice/CactusJuice');
global.o = new CactusJuice.Util.Options({
type : {
meta : {
required : false,
type : Function
},
isa : {
required : false,
type : Function
},
has : {
required : false,
map : true,
type : {
is : {
required : false,
type : "string"
},
getterName : {
required : false,
type : "string"
},
setterName : {
required : false,
type : "string"
}
}
},
methods : {
required : false,
type : {}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment