cm-rotate.js
-
fork me on github