• Jackson Ray Hamilton's avatar
    Split JSX indentation calculation into several functions · ae0ee9bc
    Jackson Ray Hamilton authored
    * lisp/progmodes/js.el (js-jsx--contextual-indentation)
    (js-jsx--expr-attribute-pos, js-jsx--expr-indentation): Extract logic
    from js-jsx--indentation, and improve the logic’s documentation.
    (js-jsx--indentation): Simplify by splitting into several
    functions (see above) and improve the logic’s documentation.
    ae0ee9bc
js.el 162 KB