Re:Shopify real-time orders
by mattmanser on Friday November 29, 2013 @04:30PM
(#6821097)
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?That's generated by CoffeeScript
Re:Shopify real-time orders
by mattmanser on Saturday November 30, 2013 @04:26AM
(#6822715)
Ha, well there you go. I'm trying to write like a compiler.
Maybe I should give coffeescript a go again.
edit: fixed now ;)