<commit_before>script(src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js")
// script(src="//cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.min.js")
script(src=appUrl+"/js/angular.ui.sortable.js")
//script(src=appUrl+"/js/angular.min.js")
script(src=appUrl+"/js/app.js")
script(src=appUrl+"/js/controllers.js")
link(href=appUrl+"/stylesheets/style.css", rel="stylesheet", type="text/css")
link(href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css", rel="stylesheet", type="text/css")
//link(href=appUrl+"/stylesheets/bootstrap.min.css", rel="stylesheet", type="text/css")
#HangDownContent(ng-app='HangDown', ng-controller="HangDownListCntr")
  header#HangDownHeader
    h1 HangDown
  
  ul#HangDownTopics(ui-sortable='itemSortConfig', ng-model='topics')
    li(ng-repeat="topic in topics", ng-class="{ active: (activeTopicIndex == $index), past: (activeTopicIndex > $index) }")
      p.title {{topic.label}}
      p.creator {{topic.creator}}

  footer#HangDownControls
    #HangDownButtons
      button(ng-click="regressTopic()") Regress
      button(ng-click="advanceTopic()") Advance
    form(ng-submit="addNewTopic()")
      input(ng-model="newTopicBuffer")
      button(ng-click="addNewTopic()", type="submit") Add<commit_msg>It's ugly, as usual, but deleting and sorting should both work now.<commit_after>script(src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js")
// script(src="//cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.min.js")
script(src=appUrl+"/js/angular.ui.sortable.js")
//script(src=appUrl+"/js/angular.min.js")
script(src=appUrl+"/js/app.js")
script(src=appUrl+"/js/controllers.js")
link(href=appUrl+"/stylesheets/style.css", rel="stylesheet", type="text/css")
link(href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css", rel="stylesheet", type="text/css")
//link(href=appUrl+"/stylesheets/bootstrap.min.css", rel="stylesheet", type="text/css")
#HangDownContent(ng-app='HangDown', ng-controller="HangDownListCntr")
  header#HangDownHeader
    h1 HangDown
  
  ul#HangDownTopics(ui-sortable='itemSortConfig', ng-model='topics')
    li(ng-repeat="topic in topics", ng-class="{ active: (activeTopicIndex == $index), past: (activeTopicIndex > $index) }")
      p.title {{topic.label}}
      p.creator {{topic.creator}}
      button(ng-click="deleteTopic({{topic.id}})").delete-topic Delete

  footer#HangDownControls
    #HangDownButtons
      button(ng-click="regressTopic()") Regress
      button(ng-click="advanceTopic()") Advance
    form(ng-submit="addNewTopic()")
      input(ng-model="newTopicBuffer")
      button(ng-click="addNewTopic()", type="submit") Add
{'fraction_non_alphanumeric': 0.2025443588885169, 'fraction_numerical': 0.011382658185470372, 'mean_word_length': 5.212058212058212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1735560', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1075, 'n_words': 110}