X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki%2Fmediawiki.experiments.js;h=49ff4115b584abb6fd59e094b468686c2a1f919d;hb=19cd639835938da66507a1cc3623073c3217b416;hp=b62e8d10373e69a1047a072655e96b807702b270;hpb=1271bb75c60f98720a24ed1bac13a48f2181fb00;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki/mediawiki.experiments.js b/resources/src/mediawiki/mediawiki.experiments.js index b62e8d1037..49ff4115b5 100644 --- a/resources/src/mediawiki/mediawiki.experiments.js +++ b/resources/src/mediawiki/mediawiki.experiments.js @@ -7,14 +7,14 @@ /** * An implementation of Jenkins' one-at-a-time hash. * - * @see http://en.wikipedia.org/wiki/Jenkins_hash_function + * @see https://en.wikipedia.org/wiki/Jenkins_hash_function * * @param {string} string String to hash * @return {number} The hash as a 32-bit unsigned integer * @ignore * * @author Ori Livneh - * @see http://jsbin.com/kejewi/4/watch?js,console + * @see https://jsbin.com/kejewi/4/watch?js,console */ function hashString( string ) { var hash = 0, @@ -76,7 +76,7 @@ * that the user will be assigned to that bucket * @param {string} token A token that uniquely identifies the user for the * duration of the experiment - * @returns {string} The bucket + * @return {string} The bucket */ getBucket: function ( experiment, token ) { var buckets = experiment.buckets,