iFixit/node-markup — pull request #8 by cedmans (2013-04-19 01:24:33+00:00)
Title: Add generic shape adder and deprecate old adders

Add the addShape() function in order to delegate instructions to
internal functions so that future shape additions will be easier.
Have addCircle() and addRectangle() adapt their data objects to work
with addShape() and display deprecation warnings to encourage the
client to switch to addShape().