// Backbone.D3View.js 0.3.1 // --------------- // (c) 2015 Adam Krebs // Backbone.D3View may be freely distributed under the MIT license. // For all details and documentation: // https://github.com/akre54/Backbone.D3View (function (factory) { if (typeof define === 'function' && define.amd) { define(['backbone', 'd3'], factory); } else if (typeof exports === 'object') { module.exports = factory(require('backbone'), require('d3')); } else { factory(Backbone, d3); } }(function (Backbone, d3) { // Cached regex to match an opening '<' of an HTML tag, possibly left-padded // with whitespace. var paddedLt = /^\s*