var Shape = Resolver()("shapes.Shape");
var Rectangle = Shape.variant("rectangle");
var fivefive = Rectangle(5,5,{fill:"color1"});
var Circle = Shape.variant("circle");
var eight = Circle(8, {stroke:"recessed"});
Fetch the previously defined Rectangle and Circle generator variant of the concrete generator for Shape, and make a new object. You can use an Alternate or Private Namespace by passing a namespace in the Resolver() call.
Better and leaner web site coding with Namespaces, Generators and HTML Snippets. Download v0.9 - minified 4k

Essential JavaScript Coming Soon

Later in the year I will add a great little library for making great web applications.

It is based on ideas gathered during more than 5 years full time WebApp development.

Stay tuned

blog comments powered by Disqus