Black-body Theory and the Quantum Discontinuity, 1894-1912