That "definition" is wrong. You are right, the function $|x|$ is continuous but is not differentiable at $x=0$. Continuity doesn't imply differentiability. However, **differentiability does imply continuity**.
The definition you stated looks to me as an attempt to define a smooth function, although it is not correct.