Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABB98D4D0 for ; Sat, 25 Aug 2012 00:00:48 +0000 (UTC) Received: (qmail 65452 invoked by uid 500); 25 Aug 2012 00:00:47 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 65339 invoked by uid 500); 25 Aug 2012 00:00:47 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 64861 invoked by uid 99); 25 Aug 2012 00:00:47 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Aug 2012 00:00:47 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C51D41FEC6; Sat, 25 Aug 2012 00:00:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anis@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [15/50] [abbrv] docs commit: Replacing incorrect use of progress event error handler with file error handler in documentation. Message-Id: <20120825000046.C51D41FEC6@tyr.zones.apache.org> Date: Sat, 25 Aug 2012 00:00:46 +0000 (UTC) Replacing incorrect use of progress event error handler with file error handler in documentation. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/4d92b361 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/4d92b361 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/4d92b361 Branch: refs/heads/master Commit: 4d92b36172408f2561d14c7f464df367d45314a0 Parents: 8fc9ea9 Author: Michal Mocny Authored: Thu Aug 16 11:37:31 2012 -0400 Committer: Anis Kadri Committed: Fri Aug 24 16:59:41 2012 -0700 ---------------------------------------------------------------------- .../en/2.0.0/cordova/file/filereader/filereader.md | 6 +++--- .../en/2.0.0/cordova/file/filesystem/filesystem.md | 4 ++-- .../file/localfilesystem/localfilesystem.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/4d92b361/docs/en/2.0.0/cordova/file/filereader/filereader.md ---------------------------------------------------------------------- diff --git a/docs/en/2.0.0/cordova/file/filereader/filereader.md b/docs/en/2.0.0/cordova/file/filereader/filereader.md index 2e9a8f1..7924917 100644 --- a/docs/en/2.0.0/cordova/file/filereader/filereader.md +++ b/docs/en/2.0.0/cordova/file/filereader/filereader.md @@ -179,8 +179,8 @@ Full Example reader.readAsText(file); } - function fail(evt) { - console.log(evt.target.error.code); + function fail(error) { + console.log(error.code); } @@ -193,4 +193,4 @@ Full Example iOS Quirks ---------- -- __encoding__ parameter is not supported, UTF8 encoding is always used. \ No newline at end of file +- __encoding__ parameter is not supported, UTF8 encoding is always used. http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/4d92b361/docs/en/2.0.0/cordova/file/filesystem/filesystem.md ---------------------------------------------------------------------- diff --git a/docs/en/2.0.0/cordova/file/filesystem/filesystem.md b/docs/en/2.0.0/cordova/file/filesystem/filesystem.md index 74990fb..c916526 100644 --- a/docs/en/2.0.0/cordova/file/filesystem/filesystem.md +++ b/docs/en/2.0.0/cordova/file/filesystem/filesystem.md @@ -78,8 +78,8 @@ Full Example console.log(fileSystem.root.name); } - function fail(evt) { - console.log(evt.target.error.code); + function fail(error) { + console.log(error.code); } http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/4d92b361/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md ---------------------------------------------------------------------- diff --git a/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md b/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md index 2828727..e31f7f1 100644 --- a/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md +++ b/docs/en/2.0.0/cordova/file/localfilesystem/localfilesystem.md @@ -97,8 +97,8 @@ Full Example console.log(fileEntry.name); } - function fail(evt) { - console.log(evt.target.error.code); + function fail(error) { + console.log(error.code); }