feat(DomRenderer): Adding support for document fragments in SVG foreign objects (#9458)

This commit is contained in:
Gion Kunz
2016-06-27 17:26:45 +02:00
committed by Victor Berchet
parent fb2509675d
commit 3644eef860
2 changed files with 27 additions and 1 deletions

View File

@ -23,7 +23,8 @@ import {camelCaseToDashCase} from './util';
const NAMESPACE_URIS = {
'xlink': 'http://www.w3.org/1999/xlink',
'svg': 'http://www.w3.org/2000/svg'
'svg': 'http://www.w3.org/2000/svg',
'xhtml': 'http://www.w3.org/1999/xhtml'
};
const TEMPLATE_COMMENT_TEXT = 'template bindings={}';
var TEMPLATE_BINDINGS_EXP = /^template bindings=(.*)$/g;