<commit_before>//
//  Layout.swift
//  TemplateKit
//
//  Created by <NAME> on 9/4/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import Foundation
import CSSLayout

public protocol Layoutable {
  func applyLayout(layout: CSSLayout)
}

public protocol View: Layoutable {
  var frame: CGRect { get set }
}

extension Node {
  public var flexDirection: CSSFlexDirection {
    return get("flexDirection") ?? CSSFlexDirectionColumn
  }

  public var direction: CSSDirection {<commit_msg>Remove protocol<commit_after>//
//  Layout.swift
//  TemplateKit
//
//  Created by <NAME> on 9/4/16.
//  Copyright © 2016 <NAME>. All rights reserved.
//

import Foundation
import CSSLayout

public protocol Layoutable {
  func applyLayout(layout: CSSLayout)
}

extension Node {
  public var flexDirection: CSSFlexDirection {
    return get("flexDirection") ?? CSSFlexDirectionColumn
  }

  public var direction: CSSDirection {
{'fraction_non_alphanumeric': 0.10434782608695652, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 3.6515151515151514, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5866157', 'n_tokens_mistral': 287, 'n_tokens_neox': 265, 'n_words': 86}