4 ms·
Looks amazing. BTW, looking at your javascript source, the style you've used of: var className = (function() { function classNameConstructor() { //se
by mattmanser 13y ago
Looks amazing.
BTW, looking at your javascript source, the style you've used of:
var className = (function() {
function classNameConstructor() {
//set properties
}
classNameConstructor.prototype.method1 = function() {
};
classNameConstructor.prototype.method2 = function() {
};
return classNameConstructor;
})();
How's that working out? I started playing with it just before I got other projects which have had no significant javascript on them, just was wondering if it's a pattern you think works well?
- fw42 13y agoThat's generated by CoffeeScript
- mattmanser 13y agoHa, well there you go. I'm trying to write like a compiler. Maybe I should give coffeescript a go again.