Explorar o código

note about where the hash code came from

Artur Paikin %!s(int64=6) %!d(string=hai) anos
pai
achega
759f5212b8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/react-native-expo/App.js

+ 1 - 0
examples/react-native-expo/App.js

@@ -14,6 +14,7 @@ import Tus from '@uppy/tus'
 import UppyFilePicker from './react-native/file-picker'
 
 function hashCode (str) {
+  // from https://stackoverflow.com/a/8831937/151666
   var hash = 0
   if (str.length === 0) {
     return hash