This commit is contained in:
21
node_modules/property-information/lib/xlink.js
generated
vendored
Normal file
21
node_modules/property-information/lib/xlink.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
'use strict'
|
||||
|
||||
var create = require('./util/create')
|
||||
|
||||
module.exports = create({
|
||||
space: 'xlink',
|
||||
transform: xlinkTransform,
|
||||
properties: {
|
||||
xLinkActuate: null,
|
||||
xLinkArcRole: null,
|
||||
xLinkHref: null,
|
||||
xLinkRole: null,
|
||||
xLinkShow: null,
|
||||
xLinkTitle: null,
|
||||
xLinkType: null
|
||||
}
|
||||
})
|
||||
|
||||
function xlinkTransform(_, prop) {
|
||||
return 'xlink:' + prop.slice(5).toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user