Clarification: Are you asking about history of dog breeding specifically, or about how humans theorized inheritability pre-Gregor Mendel in general?