git://repos.xcallymotion.com
/
motion2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
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
+++ b/
legacy-libs/gauge/spin.js
@@ -0,0
+1,5
@@
+'use strict'
+
+module.exports = function spin (spinstr, spun) {
+ return spinstr[spun % spinstr.length]
+}