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