Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Number!

  • Loading branch information...
commit 6d316a343ed86fb00f484f6249ba97a23ca4475c 1 parent 626b63a
@jubishop authored
Showing with 7 additions and 4 deletions.
  1. +7 −4 fbair/notification/Toast.mxml
View
11 fbair/notification/Toast.mxml
@@ -311,8 +311,10 @@
/**
* Shows a single toast with the given attributes.
*/
- public function showSingleToast(body_html:String, profileId:int,
- link:String, alertId:int = 0): void {
+ public function showSingleToast(body_html:String,
+ profileId:Number,
+ link:String,
+ alertId:int = 0): void {
toastItems.addItem(new ObjectProxy({
profileID: profileId,
htmlText: body_html,
@@ -325,7 +327,8 @@
/**
* Shows a shelf, or aggregate view, toast with the given objects.
*/
- public function showShelf(shelf:Array, link:String,
+ public function showShelf(shelf:Array,
+ link:String,
showMoreLink:Boolean): void {
for each (var shelfItem:ObjectProxy in shelf)
toastItems.addItem(shelfItem);
@@ -403,7 +406,7 @@
}
Depot.get(Toast).showShelf(toastItemArr, NOTIFICATIONS_URL,
- alerts.length > ToastManager.MAX_DISPLAY_BATCH_ALERT_TOAST);
+ alerts.length > ToastManager.MAX_DISPLAY_BATCH_ALERT_TOAST);
}
]]></mx:Script>
</mx:Window>

0 comments on commit 6d316a3

Please sign in to comment.
Something went wrong with that request. Please try again.