You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/30 19:48:04 UTC
[29/50] git commit: [flex-asjs] [refs/heads/tlf] - sync up FlexJSStore
sync up FlexJSStore
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/de35a07f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/de35a07f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/de35a07f
Branch: refs/heads/tlf
Commit: de35a07ffc580f8f9aa82cbd0773d4f58cea2fdf
Parents: 472f6d5
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 25 00:18:21 2017 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 25 00:18:38 2017 -0700
----------------------------------------------------------------------
.../src/main/flex/productsView/ProductCart.mxml | 2 +-
.../flex/samples/flexstore/ProductThumbEvent.as | 19 ++++++++++---------
2 files changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de35a07f/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
index 3469806..5df06d8 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/productsView/ProductCart.mxml
@@ -96,7 +96,7 @@ limitations under the License.
removeProduct="productListEventHandler(event)"
showQuantity="true" />
- <js:Container style="right:0" id="totalContainer">
+ <js:Container style="right:0" id="totalContainer" width="100%" height="60">
<js:beads>
<js:VerticalColumnLayout numColumns="2" />
</js:beads>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/de35a07f/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as b/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
index e2838f9..19b5951 100755
--- a/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
+++ b/examples/flexjs/FlexJSStore_jquery/src/main/flex/samples/flexstore/ProductThumbEvent.as
@@ -18,8 +18,9 @@
////////////////////////////////////////////////////////////////////////////////
package samples.flexstore
{
-
+
import org.apache.flex.events.Event;
+import org.apache.flex.events.IFlexJSEvent;
public class ProductThumbEvent extends Event
{
@@ -27,19 +28,19 @@ public class ProductThumbEvent extends Event
public static const COMPARE:String = "compare";
public static const DETAILS:String = "details";
public static const BROWSE:String = "browse";
-
+
public var product:Product;
-
+
public function ProductThumbEvent(type:String, product:Product)
{
super(type);
this.product = product;
}
-
- //override public function cloneEvent():Event
- //{
- // return new ProductThumbEvent(type, product);
- //}
+
+ override public function cloneEvent():IFlexJSEvent
+ {
+ return new ProductThumbEvent(type, product);
+ }
}
-}
+}
\ No newline at end of file