Download packages/mathml2omml/src/mathml/msqrt.js from muthuk1/OpenMAIC-React: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/packages/mathml2omml/src/mathml/msqrt.js
- Command line
-
hf download hf://muthuk1/OpenMAIC-React/packages/mathml2omml/src/mathml/msqrt.js
-
curl -L -o msqrt.js https://huggingface.co/muthuk1/OpenMAIC-React/resolve/main/packages/mathml2omml/src/mathml/msqrt.js
730 Bytes
| export function msqrt(element, targetParent, previousSibling, nextSibling, ancestors) { | |
| const targetElement = { | |
| name: 'm:e', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [] | |
| } | |
| targetParent.children.push({ | |
| name: 'm:rad', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [ | |
| { | |
| name: 'm:radPr', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [ | |
| { | |
| name: 'm:degHide', | |
| type: 'tag', | |
| attribs: { | |
| 'm:val': 'on' | |
| }, | |
| children: [] | |
| } | |
| ] | |
| }, | |
| { | |
| name: 'm:deg', | |
| type: 'tag', | |
| attribs: {}, | |
| children: [] | |
| }, | |
| targetElement | |
| ] | |
| }) | |
| return targetElement | |
| } | |