Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / gauge / spin.js
diff --git a/legacy-libs/gauge/spin.js b/legacy-libs/gauge/spin.js
new file mode 100644 (file)
index 0000000..34142ee
--- /dev/null
@@ -0,0 +1,5 @@
+'use strict'
+
+module.exports = function spin (spinstr, spun) {
+  return spinstr[spun % spinstr.length]
+}