This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"title": "Net promoters score", | |
"legend": "how likely would you recommend Electrolux to a friend?", | |
"score": 0, | |
"target": 100, | |
"min": -100, | |
"max": 100, | |
"chart": "https://next.json-generator.com/api/json/get/VJAO0PC28" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface UIImage (Tint) | |
- (UIImage *)tintedImageUsingColor:(UIColor *)tintColor; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import com.netoleal.facebook.app.FacebookApplication; | |
import com.netoleal.facebook.model.FacebookFriendModel; | |
public class FacebookApplicationExample | |
{ | |
private var fb:FacebookApplication; | |
public function FacebookApplicationExample( ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asf.events.FlowEvent; | |
import asf.flow.LoadShowFlow; | |
import asf.interfaces.ISequence; | |
flow = new LoadShowFlow( app.navigation, true ); | |
flow.addEventListener( FlowEvent.SHOW_LOADING, onFlowShowLoading ); | |
flow.addEventListener( FlowEvent.HIDE_LOADING, onFlowHideLoading ); | |
flow.addEventListener( DependenciesProgressEvent.LOAD_PROGRESS, onSectionLoadProgress ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asf.core.commands.CommandsDispatcher; | |
CommandsDispatcher.broadcastCommand( "someEvent" ); | |
CommandsDispatcher.broadcastCommand( "otherEvent", "some param to pass" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Exemplo de criação de propriedade personalizada. | |
Exemplo de uso: | |
SimpleTween.registerSpecialProperty( "scale", new ScaleProperty( ) ); | |
SimpleTween.create( ).make( foolMC, { scale: 1.5 }, 666, easeOutCirc ); | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function chance( value:Number ):Boolean | |
{ | |
return Math.random( ) < value; | |
} |