mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Add Blockly.utils.dom.XLINK_NS
And fix provide/require mixup.
This commit is contained in:
@@ -45,6 +45,12 @@ Blockly.utils.dom.SVG_NS = 'http://www.w3.org/2000/svg';
|
||||
*/
|
||||
Blockly.utils.dom.HTML_NS = 'http://www.w3.org/1999/xhtml';
|
||||
|
||||
/**
|
||||
* Required name space for XLINK elements.
|
||||
* @const
|
||||
*/
|
||||
Blockly.utils.dom.XLINK_NS = 'http://www.w3.org/1999/xlink';
|
||||
|
||||
/**
|
||||
* Helper method for creating SVG elements.
|
||||
* @param {string} name Element's tag name.
|
||||
|
||||
Reference in New Issue
Block a user