ソースを参照

note about where the hash code came from

Artur Paikin 6 年 前
コミット
759f5212b8
1 ファイル変更1 行追加0 行削除
  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