mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 04:10:22 +08:00

We need this in other places, this commit moves clipboardCopy to the utilities.js lib. Had to remove use of Promise as well because lib/utilities cannot import it, otherwise it will cause a mini racer error.