MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / isScopeMarker

Function isScopeMarker

ServerEditorWeb/ace/worker-html.js:1334–1357  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1332module.exports = (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({
13331:[function(_dereq_,module,exports){
1334function isScopeMarker(node) {
1335 if (node.namespaceURI === "http://www.w3.org/1999/xhtml") {
1336 return node.localName === "applet"
1337 || node.localName === "caption"
1338 || node.localName === "marquee"
1339 || node.localName === "object"
1340 || node.localName === "table"
1341 || node.localName === "td"
1342 || node.localName === "th";
1343 }
1344 if (node.namespaceURI === "http://www.w3.org/1998/Math/MathML") {
1345 return node.localName === "mi"
1346 || node.localName === "mo"
1347 || node.localName === "mn"
1348 || node.localName === "ms"
1349 || node.localName === "mtext"
1350 || node.localName === "annotation-xml";
1351 }
1352 if (node.namespaceURI === "http://www.w3.org/2000/svg") {
1353 return node.localName === "foreignObject"
1354 || node.localName === "desc"
1355 || node.localName === "title";
1356 }
1357}
1358
1359function isListItemScopeMarker(node) {
1360 return isScopeMarker(node)

Callers 3

isListItemScopeMarkerFunction · 0.85
isButtonScopeMarkerFunction · 0.85
worker-html.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected