<commit_before>!!!XML
!!!
%html{xmlns: "http://www.w3.org/1999/xhtml", 'xml:lang' => "es", lang: "es" }
  %head
    %meta(http-equiv="content-type" content="text/html;charset=UTF-8")
    %meta(name="viewport" content="width=device-width, initial-scale=1.0")
    %link(name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1")
    %link(rel= "shortcut icon" href="/favicon.ico" type="image/x-icon")
    = csrf_meta_tag

    %title bonsaiERP - #{current_organisation}

    = stylesheet_link_tag "application", media: 'all'
    = javascript_include_tag 'angular/angular-file-upload-shim.min.js'
    = cdn_scripts 'jquery', 'angular'
    = javascript_include_tag "application"
    -if Rails.env.production?
      %script(src='//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js' data-apikey='5764f05c4e7d87832059e096471f9bc9')

    :javascript
      this.organisation = {
        currency: "#{currency}",
        name: "#{organisation_name}"
      }

      this.exchangeRates = #{set_exchange_rates};
      this.currencies = #{File.read Rails.root.join 'public', 'currencies.json' };<commit_msg>Define asset path for html shim<commit_after>!!!XML
!!!
%html{xmlns: "http://www.w3.org/1999/xhtml", 'xml:lang' => "es", lang: "es" }
  %head
    %meta(http-equiv="content-type" content="text/html;charset=UTF-8")
    %meta(name="viewport" content="width=device-width, initial-scale=1.0")
    %link(name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1")
    %link(rel= "shortcut icon" href="/favicon.ico" type="image/x-icon")
    = csrf_meta_tag

    %title bonsaiERP - #{current_organisation}

    = stylesheet_link_tag "application", media: 'all'
    = javascript_include_tag asset_path('angular/angular-file-upload-shim.min.js')
    = cdn_scripts 'jquery', 'angular'
    = javascript_include_tag "application"
    -if Rails.env.production?
      %script(src='//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js' data-apikey='5764f05c4e7d87832059e096471f9bc9')

    :javascript
      this.organisation = {
        currency: "#{currency}",
        name: "#{organisation_name}"
      }

      this.exchangeRates = #{set_exchange_rates};
      this.currencies = #{File.read Rails.root.join 'public', 'currencies.json' };
{'fraction_non_alphanumeric': 0.17017543859649123, 'fraction_numerical': 0.034210526315789476, 'mean_word_length': 4.280092592592593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '1068504', 'n_tokens_mistral': 881, 'n_tokens_neox': 817, 'n_words': 109}