提交 abccdcc8 编写于 作者: C Catouse

* refactor uuid method.

上级 81d47d01
......@@ -28,8 +28,9 @@
var lastUuidAmend = 0;
$.zui({
uuid: function() {
return(new Date()).getTime() * 1000 + (lastUuidAmend++) % 1000;
uuid: function(asNumber) {
var uuidNumber = (new Date()).getTime() * 1000 + (lastUuidAmend++) % 1000;
return asNumber ? uuidNumber : uuidNumber.toString(36);
},
callEvent: function(func, event, proxy) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册