MCPcopy Index your code
hub / github.com/gto76/python-cheatsheet / fixPageBreaksStruct

Function fixPageBreaksStruct

parse.js:884–889  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

882}
883
884function fixPageBreaksStruct() {
885 const formatDiv = $('#floatingpointtypesstructalwaysusesstandardsizes').parent().parent().parent().parent()
886 move(formatDiv, 'floatingpointtypesstructalwaysusesstandardsizes')
887 move(formatDiv, 'integertypesuseacapitalletterforunsignedtypeminimumandstandardsizesareinbrackets')
888 move(formatDiv, 'forstandardsizesstartformatstringwith')
889}
890
891function move(anchor_el, el_id) {
892 const el = $('#'+el_id).parent()

Callers 1

highlightCodeFunction · 0.85

Calls 2

$Function · 0.85
moveFunction · 0.85

Tested by

no test coverage detected