summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/gauge/spin.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/gauge/spin.js')
-rw-r--r--deps/npm/node_modules/gauge/spin.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/npm/node_modules/gauge/spin.js b/deps/npm/node_modules/gauge/spin.js
new file mode 100644
index 0000000000..34142ee31a
--- /dev/null
+++ b/deps/npm/node_modules/gauge/spin.js
@@ -0,0 +1,5 @@
+'use strict'
+
+module.exports = function spin (spinstr, spun) {
+ return spinstr[spun % spinstr.length]
+}