Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
Description
I write some code to implement a feature.
I inspect every element of array and if some satisfy condition I call vibrate.
code like this
document.addEventListener('data', v, false); function v(arr){ var i=0; while(i<arr.length){ if(condition){ vibrate(10); } i += arr.length / 10; } }
But it doesn't vibrate, until event data doesn't be dispatched.