Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82B6119A0A for ; Wed, 6 Apr 2016 15:06:06 +0000 (UTC) Received: (qmail 39435 invoked by uid 500); 6 Apr 2016 15:06:00 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 39195 invoked by uid 500); 6 Apr 2016 15:06:00 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 38218 invoked by uid 99); 6 Apr 2016 15:05:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2016 15:05:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6A751E2EF4; Wed, 6 Apr 2016 15:05:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Date: Wed, 06 Apr 2016 15:06:19 -0000 Message-Id: In-Reply-To: <66c1024aefa64a2cbc35d365673afb38@git.apache.org> References: <66c1024aefa64a2cbc35d365673afb38@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [21/50] [abbrv] git commit: [flex-asjs] [refs/heads/master] - fix example fix example Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c313d706 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c313d706 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c313d706 Branch: refs/heads/master Commit: c313d70661022e8b14a474cd33eb4db57d655df8 Parents: 063ac08 Author: Alex Harui Authored: Mon Feb 29 17:52:12 2016 -0800 Committer: Alex Harui Committed: Mon Feb 29 17:52:12 2016 -0800 ---------------------------------------------------------------------- .../src/productsView/CatalogTitleButtons.mxml | 8 +++++--- .../src/productsView/ProductCatalogThumbnail.mxml | 2 +- .../src/productsView/ProductListItem.mxml | 10 ++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml index 77456be..af9cfd1 100755 --- a/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/CatalogTitleButtons.mxml @@ -35,12 +35,14 @@ limitations under the License. [Bindable] public var cartCount:int; - private function rollOverLabel(event:Event):void + private function rollOverLabel(event:MouseEvent):void { - Label(event.target).className = "catalogTitleButtonHighlighted"; + try { + Label(event.target).className = "catalogTitleButtonHighlighted"; + } catch (e:Error) {} } - private function rollOutLabel(event:Event):void + private function rollOutLabel(event:MouseEvent):void { Label(event.target).className = "catalogTitleButtonDeselected"; } http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml index 1d8ce8f..7b415da 100755 --- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductCatalogThumbnail.mxml @@ -118,7 +118,7 @@ limitations under the License. } } - public function clickHandler(event:org.apache.flex.events.Event):void + public function clickHandler(event:org.apache.flex.events.MouseEvent):void { if (event.target != purchase && event.target != compare && http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c313d706/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml index 2864cca..8e98c3b 100755 --- a/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml +++ b/examples/flexjs/FlexJSStore_jquery/src/productsView/ProductListItem.mxml @@ -60,6 +60,16 @@ limitations under the License. { _data = value; } + + public function get listData():Object + { + return null; + } + + public function set listData(value:Object):void + { + // not used + } private var _itemRendererParent:Object;