<commit_before>%header.title-bar
  %nav#menu
    %a.return{ href: '/', target: '_self' }

%article.stock-detail
  %header{ class: "#{@symbol.status}" }
    %h3= @symbol.symbol
    %p.last-price
      = @symbol.last_price
      %span.change
        = @symbol.point_change
        = (@symbol.percent_change)

  %canvas{ class: 'symbol-chart', id: 'symbol-chart', height: '200', width: '600' }

%script{ src: '/javascripts/chart.min.js' }

:javascript

  var ctx = document.getElementById('symbol-chart').getContext('2d');

  var data = {<commit_msg>Better mobile formatting for mobile on symbol page<commit_after>%header.title-bar
  %nav#menu
    %a.return{ href: '/', target: '_self' }

%article.stock-detail
  %header{ class: "#{@symbol.status}" }
    %h3= @symbol.symbol
    %p.last-price
      = @symbol.last_price
    %span.change
      = @symbol.point_change
      = (@symbol.percent_change)

  %canvas{ class: 'symbol-chart', id: 'symbol-chart', height: '100', width: '300' }

%script{ src: '/javascripts/chart.min.js' }

:javascript

  var ctx = document.getElementById('symbol-chart').getContext('2d');

  var data = {
{'fraction_non_alphanumeric': 0.17777777777777778, 'fraction_numerical': 0.014222222222222223, 'mean_word_length': 3.504, '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': '3347183', 'n_tokens_mistral': 398, 'n_tokens_neox': 385, 'n_words': 77}