Open jwld opened 7 years ago
It'd be nice to have slightly purer functions - separate out the xhr request into its own function, and pass it a render function as a callback. Makes everything a bit easier to read too :)
https://github.com/facn2/Alpha.HAML/blob/master/public/index.js#L36 fixed. Please take a look and close the issue. Thx
It'd be nice to have slightly purer functions - separate out the xhr request into its own function, and pass it a render function as a callback. Makes everything a bit easier to read too :)