MCPcopy Create free account
hub / github.com/PageBot/PageBot / hasJs

Method hasJs

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:370–371  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368 self._jsNames.add(name)
369
370 def hasJs(self):
371 return len(self._jsOut)
372
373 def importJs(self, path):
374 """Import a chunk of UTF-8 CSS code from the path."""

Callers 1

write_javascriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected