Hacker News new | ask | show | jobs
99% pure approach to managing content in Javascript (blog.prismic.io)
11 points by sadache 4620 days ago
2 comments

    > Prismic.Api('https://lesbonneschoses.prismic.io/api', function(o) { 

    > api.form('macarons').ref(api.master()).submit(function(result) {
Nice. I've always wished for my javascript callbacks to never encounter any errors too but couldn't make it happen... Maybe you should patent that instead?
This title is melting my brain.

EDIT: someone removed the ascii art, but I still don't understand it. Pure what?

pure approach?