OSDN Git Service

Version 0.6.5
[pettanr/clientJs.git] / 0.6.x / js / core / 06_XTimer.js
index d685032..4412139 100644 (file)
@@ -27,7 +27,7 @@ X.Timer = ( function(){
                        f   = queue[ INDEX_CALLBACK ];\r
                        c   = queue[ INDEX_COUNT ];\r
                        ret = f();\r
-                       if( ret === false || ret === X.Cancel.UN_LISTEN || c === 1 ){\r
+                       if( ret === false || ret & X.Callback.UN_LISTEN || c === 1 ){\r
                                list.splice( i, 1 );\r
                                f.kill();\r
                                queue.length = 0;\r