@@ -53,8 +53,8 @@ var ImageSource = require("image-source");
5353 } ) ( common . Fab ) ;
5454
5555 exports . Fab = FloatingActionButton ;
56-
57-
56+
57+
5858/* SETUP CSS */
5959var FloatingActionButtonStyler = ( function ( ) {
6060 function FloatingActionButtonStyler ( ) {
@@ -72,7 +72,7 @@ var FloatingActionButtonStyler = (function () {
7272 var fab = view . android ;
7373 return fab . getBackgroundTintList ( ) ;
7474 } ;
75-
75+
7676 FloatingActionButtonStyler . registerHandlers = function ( ) {
7777 style . registerHandler ( style . backgroundColorProperty , new style . StylePropertyChangedHandler ( FloatingActionButtonStyler . setBackgroundColorProperty , FloatingActionButtonStyler . resetBackgroundColorProperty , FloatingActionButtonStyler . getNativeBackgroundColorValue ) , "FloatingActionButton" ) ;
7878 style . registerHandler ( style . backgroundInternalProperty , style . ignorePropertyHandler , "FloatingActionButton" ) ;
@@ -81,7 +81,7 @@ var FloatingActionButtonStyler = (function () {
8181} ) ( ) ;
8282exports . FloatingActionButtonStyler = FloatingActionButtonStyler ;
8383FloatingActionButtonStyler . registerHandlers ( ) ;
84-
84+
8585 /* SETUP PROPERTIES */
8686//Background Color
8787function onBackColorPropertyChanged ( data ) {
@@ -109,7 +109,7 @@ function onIconPropertyChanged(data) {
109109 } else {
110110 var drawableId = android . content . res . Resources . getSystem ( ) . getIdentifier ( icon , "drawable" , "android" ) ;
111111 iconDrawable = android . content . res . Resources . getSystem ( ) . getDrawable ( drawableId ) ;
112- if ( iconDrawabele ) {
112+ if ( iconDrawable ) {
113113 fab . android . setImageDrawable ( iconDrawable ) ;
114114 } else {
115115 console . log ( "The icon: " + icon + " was not found. Check your XML icon property." ) ;
@@ -128,4 +128,4 @@ function onRippleColorPropertyChanged(data) {
128128 console . log ( "The ripple color: " + data . newValue + " is invalid." ) ;
129129 }
130130}
131- common . Fab . rippleColorProperty . metadata . onSetNativeValue = onRippleColorPropertyChanged ;
131+ common . Fab . rippleColorProperty . metadata . onSetNativeValue = onRippleColorPropertyChanged ;
0 commit comments