(element, blip)
| 1216 | } |
| 1217 | |
| 1218 | function readBlip(element, blip) { |
| 1219 | var properties = element.first("wp:docPr").attributes; |
| 1220 | var altText = isBlank(properties.descr) ? properties.title : properties.descr; |
| 1221 | return readImage(findBlipImageFile(blip), altText); |
| 1222 | } |
| 1223 | |
| 1224 | function isBlank(value) { |
| 1225 | return value == null || /^\s*$/.test(value); |
nothing calls this directly
no test coverage detected