https://github.com/civicrm/civicrm-core/pull/1756
Use case: write a code that doesn't check return value is_error; like humans do. To make it extra fun, do it with
<script>
var data=
{crmAPI ...}
; // returns a json
d3.selectAll()... // do plenty of magic that assumes data.values exist, get no graph and a not so visible js error.
I expect quite a few devs will want to pick up ladies with their awesome data visualisations dashboard. We can't let them down. At least they can blame the api now without having to view the page source.
https://github.com/civicrm/civicrm-core/pull/1756
Use case: write a code that doesn't check return value is_error; like humans do. To make it extra fun, do it with
<script>
{crmAPI ...}var data=
; // returns a json
d3.selectAll()... // do plenty of magic that assumes data.values exist, get no graph and a not so visible js error.
I expect quite a few devs will want to pick up ladies with their awesome data visualisations dashboard. We can't let them down. At least they can blame the api now without having to view the page source.