<commit_before>App.on 'initialize:after', ->
  supportedNetworks = new App.Collections.SocialNetworks([
    {
      name: 'mt-facebook'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/facebook@2x.png'
      shareUrl: (url) -> "https://www.facebook.com/sharer/sharer.php?u=#{url}"
      selected: true
    },
    {
      name: 'mt-twitter'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/twitter@2x.png'
      shareUrl: (url, text) -> "http://twitter.com/intent/tweet?text=#{text}&url=#{url}"
      selected: true
    },
    {
      name: 'mt-linkedin'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/linkedin@2x.png'
      shareUrl: (url, text) -> "http://www.linkedin.com/shareArticle?mini=true&url=#{url}&summary=#{text}"
    },
    {
      name: 'mt-google'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/google@2x.png'
      shareUrl: (url) -> "https://plus.google.com/share?url=#{url}"
    },
    {
      name: 'mt-pinterest'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/pinterest@2x.png'
      shareUrl: (url, text, mediaUrl) -> "http://www.pinterest.com/pin/create/button/?url=#{url}&media=#{mediaUrl}&guid=1234&description=#{text}"
    }
  ])

  App.reqres.setHandler "supportedNetworks", -> supportedNetworks<commit_msg>Use https instead of http in the share urls<commit_after>App.on 'initialize:after', ->
  supportedNetworks = new App.Collections.SocialNetworks([
    {
      name: 'mt-facebook'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/facebook@2x.png'
      shareUrl: (url) -> "https://www.facebook.com/sharer/sharer.php?u=#{url}"
      selected: true
    },
    {
      name: 'mt-twitter'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/twitter@2x.png'
      shareUrl: (url, text) -> "https://twitter.com/intent/tweet?text=#{text}&url=#{url}"
      selected: true
    },
    {
      name: 'mt-linkedin'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/linkedin@2x.png'
      shareUrl: (url, text) -> "https://www.linkedin.com/shareArticle?mini=true&url=#{url}&summary=#{text}"
    },
    {
      name: 'mt-google'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/google@2x.png'
      shareUrl: (url) -> "https://plus.google.com/share?url=#{url}"
    },
    {
      name: 'mt-pinterest'
      imagePath: 'http://mojotech-static.s3.amazonaws.com/pinterest@2x.png'
      shareUrl: (url, text, mediaUrl) -> "https://www.pinterest.com/pin/create/button/?url=#{url}&media=#{mediaUrl}&guid=1234&description=#{text}"
    }
  ])

  App.reqres.setHandler "supportedNetworks", -> supportedNetworks
{'fraction_non_alphanumeric': 0.1908426317814544, 'fraction_numerical': 0.010773374374759523, 'mean_word_length': 3.2003231017770597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 7, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 10, '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': '5185792', 'n_tokens_mistral': 958, 'n_tokens_neox': 937, 'n_words': 109}