<commit_before>//
//  FBIconNode.m
//  VZFlexLayout
//
//  Created by moxin on 16/3/1.
//  Copyright © 2016年 Vizlab. All rights reserved.
//

#import "FBIconNode.h"
#import "VZFImageNode.h"
#import "VZFImageNodeSpecs.h"
#import "VZFNodeSpecs.h"
#import "FBNetworkImageView.h"
#import "VZFStackNode.h"

#import "VZFTextNode.h"

@implementation FBIconNode

+ (instancetype)newWithURL:(NSString* )url{
    
    VZFImageNode* iconNode = [VZFImageNode newWithImageAttributes:{
    
        .contentMode = UIViewContentModeScaleAspectFill,
        .imageUrl = url,

    } NodeSpecs:{
        
        
            .clip = YES,
            .backgroundColor = [UIColor grayColor],
            .cornerRadius = 20.0f,
            .width = 40,
            .height = 40
        
    
    } BackingImageViewClass:[FBNetworkImageView class]];


    return [super newWithNode:iconNode];

}


@end
<commit_msg>fix icon node<commit_after>//
//  FBIconNode.m
//  VZFlexLayout
//
//  Created by moxin on 16/3/1.
//  Copyright © 2016年 Vizlab. All rights reserved.
//

#import "FBIconNode.h"
#import "VZFImageNode.h"
#import "VZFImageNodeSpecs.h"
#import "VZFNodeSpecs.h"
#import "FBNetworkImageView.h"
#import "VZFStackNode.h"

#import "VZFTextNode.h"

@implementation FBIconNode

+ (instancetype)newWithURL:(NSString* )url{
    
    VZFImageNode* iconNode = [VZFImageNode newWithImageAttributes:{
    
        .contentMode = UIViewContentModeScaleAspectFill,
        .imageUrl = url,

    } NodeSpecs:{
        
        
            .clip = YES,
            .backgroundColor = [UIColor grayColor],
            .cornerRadius = 20.0f,
            .flexShrink = 0,
            .width = 40,
            .height = 40
        
    
    } BackingImageViewClass:[FBNetworkImageView class]];


    return [super newWithNode:iconNode];

}


@end

{'fraction_non_alphanumeric': 0.11612548156301596, 'fraction_numerical': 0.0170610897083104, 'mean_word_length': 2.37291280148423, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2360351', 'n_tokens_mistral': 688, 'n_tokens_neox': 628, 'n_words': 122}