[EN] svg PITA bug of the day

Today I've been struggling to understand why this does not work in Firefox, but is OK in Chrome: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <base href="/"> </head> <body> <svg> <symbol id="pretty-circle"…

[EN] New release for genealogic-d3

A year ago, I built a small JS lib using D3.js to visualize JSON-defined genealogy trees. At the beginning of the year, I added a new feature using flex-calendar and moment-ferie-fr : a birthday calendar using the same JSON genealogy definition and miniature images. I added this calendar to the…

[EN] AngularJS console debugging tips + pre-commit hooks

Just some handy accessors for the brower console : var myScope = $('#directive > select.or').scope() var $rootScope = $('body').scope() // if <body> has the 'ng-app' attribute var myController = $('#directive > select.or').controller() var injector = $(document.body).injector() var myService = injector.get('myServiceName') And there are 3…