(d, decimalPoint, formatted, allowEmpty)
| 1104 | |
| 1105 | // Is a string a number surrounded by HTML? |
| 1106 | var _htmlNumeric = function (d, decimalPoint, formatted, allowEmpty) { |
| 1107 | if (allowEmpty && _empty(d)) { |
| 1108 | return true |
| 1109 | } |
| 1110 | |
| 1111 | // input and select strings mean that this isn't just a number |
| 1112 | if (typeof d === "string" && d.match(/<(input|select)/i)) { |
| 1113 | return null |
| 1114 | } |
| 1115 | |
| 1116 | var html = _isHtml(d) |
| 1117 | return !html ? null : _isNumber(_stripHtml(d), decimalPoint, formatted, allowEmpty) ? true : null |
| 1118 | } |
| 1119 | |
| 1120 | var _pluck = function (a, prop, prop2) { |
| 1121 | var out = [] |
no test coverage detected