Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 60C53200B5B for ; Fri, 22 Jul 2016 05:27:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 463E1160A87; Fri, 22 Jul 2016 03:27:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97374160A73 for ; Fri, 22 Jul 2016 05:27:21 +0200 (CEST) Received: (qmail 40496 invoked by uid 500); 22 Jul 2016 03:27:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 40476 invoked by uid 99); 22 Jul 2016 03:27:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 03:27:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 942332C0D57 for ; Fri, 22 Jul 2016 03:27:20 +0000 (UTC) Date: Fri, 22 Jul 2016 03:27:20 +0000 (UTC) From: "zhuisui (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-11611) iPhone doesn't vibrate in my code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 03:27:22 -0000 [ https://issues.apache.org/jira/browse/CB-11611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhuisui updated CB-11611: ------------------------- 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 {code:javascript} document.addEventListener('data', v, false); function v(arr){ var i=0; while(i iPhone doesn't vibrate in my code > --------------------------------- > > Key: CB-11611 > URL: https://issues.apache.org/jira/browse/CB-11611 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Vibration > Reporter: zhuisui > > 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 > {code:javascript} > document.addEventListener('data', v, false); > function v(arr){ > var i=0; > while(i if(condition){ > vibrate(10); > } > i += arr.length / 10; > } > } > {code} > But it doesn't vibrate, until event {{data}} doesn't be dispatched. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org