don't use non-standard trim, dies on Travis CI
This commit is contained in:
parent
4de23eb5c8
commit
5269f9b1ce
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@ void (function (global, factory) { // eslint-disable-line
|
|||
// was a trusted string
|
||||
if (nodes[0].nodeType === 1 ||
|
||||
nodes.length > 1 ||
|
||||
!nodes[0].nodeValue.trim()
|
||||
(nodes[0].nodeValue.trim && !nodes[0].nodeValue.trim())
|
||||
) {
|
||||
clear(cached.nodes, cached)
|
||||
nodes = [$document.createTextNode(data)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue