X-Git-Url: http://git.roojs.org/?p=raphael;a=blobdiff_plain;f=raphael.js;h=aacaefe8321c744bbc6ed64aa1cf53d43059ce47;hp=49d8800b587d4407990fcc83f3f362d35377c4c5;hb=6742e645d4ae12ab415938c3607b287fa44c07e2;hpb=e253ebda76ed4a31176903ad916856d87eba95a2 diff --git a/raphael.js b/raphael.js index 49d8800..aacaefe 100644 --- a/raphael.js +++ b/raphael.js @@ -527,7 +527,7 @@ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(uuidRegEx, uuidReplacer).toUpperCase(); }; })(/[xy]/g, function (c) { - var r = math.random() * 16 | 0, + var r = Math.random() * 16 | 0, v = c == "x" ? r : (r & 3 | 8); return v.toString(16); });