-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
193 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ jobs: | |
strategy: | ||
matrix: | ||
node: | ||
- lts/dubnium | ||
- lts/erbium | ||
- node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
.DS_Store | ||
*.log | ||
.nyc_output/ | ||
coverage/ | ||
node_modules/ | ||
property-information.js | ||
property-information.min.js | ||
yarn.lock | ||
script/react-data.json | ||
script/react-data.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
coverage/ | ||
property-information.js | ||
property-information.min.js | ||
*.json | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export var hastToReact = { | ||
classId: 'classID', | ||
dataType: 'datatype', | ||
itemId: 'itemID', | ||
strokeDashArray: 'strokeDasharray', | ||
strokeDashOffset: 'strokeDashoffset', | ||
strokeLineCap: 'strokeLinecap', | ||
strokeLineJoin: 'strokeLinejoin', | ||
strokeMiterLimit: 'strokeMiterlimit', | ||
typeOf: 'typeof', | ||
xLinkActuate: 'xlinkActuate', | ||
xLinkArcRole: 'xlinkArcrole', | ||
xLinkHref: 'xlinkHref', | ||
xLinkRole: 'xlinkRole', | ||
xLinkShow: 'xlinkShow', | ||
xLinkTitle: 'xlinkTitle', | ||
xLinkType: 'xlinkType', | ||
xmlnsXLink: 'xmlnsXlink' | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
'use strict' | ||
import {merge} from './lib/util/merge.js' | ||
import {xlink} from './lib/xlink.js' | ||
import {xml} from './lib/xml.js' | ||
import {xmlns} from './lib/xmlns.js' | ||
import {aria} from './lib/aria.js' | ||
import {html as htmlBase} from './lib/html.js' | ||
|
||
var merge = require('./lib/util/merge') | ||
var xlink = require('./lib/xlink') | ||
var xml = require('./lib/xml') | ||
var xmlns = require('./lib/xmlns') | ||
var aria = require('./lib/aria') | ||
var html = require('./lib/html') | ||
|
||
module.exports = merge([xml, xlink, xmlns, aria, html]) | ||
export var html = merge([xml, xlink, xmlns, aria, htmlBase]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
'use strict' | ||
|
||
exports.html = require('./html') | ||
exports.svg = require('./svg') | ||
exports.normalize = require('./normalize') | ||
exports.find = require('./find') | ||
export {html} from './html.js' | ||
export {svg} from './svg.js' | ||
export {normalize} from './normalize.js' | ||
export {find} from './find.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
'use strict' | ||
import {caseSensitiveTransform} from './case-sensitive-transform.js' | ||
|
||
var caseSensitiveTransform = require('./case-sensitive-transform') | ||
|
||
module.exports = caseInsensitiveTransform | ||
|
||
function caseInsensitiveTransform(attributes, property) { | ||
export function caseInsensitiveTransform(attributes, property) { | ||
return caseSensitiveTransform(attributes, property.toLowerCase()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = caseSensitiveTransform | ||
|
||
function caseSensitiveTransform(attributes, attribute) { | ||
export function caseSensitiveTransform(attributes, attribute) { | ||
return attribute in attributes ? attributes[attribute] : attribute | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
'use strict' | ||
|
||
module.exports = Info | ||
export {Info} | ||
|
||
var proto = Info.prototype | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
'use strict' | ||
|
||
module.exports = Schema | ||
export {Schema} | ||
|
||
var proto = Schema.prototype | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = normalize | ||
|
||
function normalize(value) { | ||
export function normalize(value) { | ||
return value.toLowerCase() | ||
} |
Oops, something went wrong.