<commit_before>#home
  .hero-unit
    %h1 jQuery Sortable
    %p A flexible, opinionated sorting plugin for jQuery
    %p
      %a.btn.btn-large.btn-primary(href="https://github.com/johnny/jquery-sortable")
        %i.icon-eye-open.icon-white
        View on GitHub
      %a.btn.btn-large.btn-success(href="js/jquery-sortable.js")
        %i.icon-hdd.icon-white
        Download
        (v#{File.read("VERSION").strip})
    %p
      %small
        Download
        %a(href="js/jquery-sortable-min.js") minified
        version
        (#{file_kb("source/js/jquery-sortable-min.js")} kb, gzipped ~#{file_kb("source/js/jquery-sortable-min.js.gz")} kb)
#features
  .page-header
    %h1 Features
  .row
    .span6
      %h3 So what does it do?
      %ul
        %li Sorts any items in any container
        %li Fully supports nested containers
        %li Connect lists
        %li Callbacks and events (see docs)
        %li Pure drag/drop lists
        %li Vertical and horizontal sorting
      %h3 Why another sortable plugin?
      %p
        you might ask.
        Aren't there
        %a(href="#alternatives") many
        others?
      %p
        %strong The answer is: nested lists.
        None of the other solutions had a decent support for nested lists.
        %a(href="http://mjsarfatti.com/sandbox/nestedSortable/") nestedSortable
        relies on a fixed width hierarchy.
        Others mimic the way jQuery UI does
        %a(href="http://jqueryui.com/demos/sortable/") sortables
        and therefore require ugly
        %a(href="https://github.com/jquery/jquery-ui/pull/555") hacks
        that suffer from sudden jumps.
      %h3 The opinionated part
      %p
        This plugin does one and only one thing:
        %strong sorting
        \. If you need animations or autoscrolling, do them
        %a(href="#connected") yourself
        \.
      %p
        Moreover this plugin assumes that the placeholder has zero height/width.
        As a result, the item dimensions may be cached.
        %small This might change in the future, if need be.
      %h3 Compatibility
      %p
        %code jquery-sortable.js
        has been tested with the following browsers
      %ul
        %li Firefox >= 3.5
        %li Chrome
        %li Opera
        %li Konqueror
        %li IE > 7
      %p
        If you confirmed, that it works on other browsers please
        %a(href="mailto:<EMAIL>") tell me
        \.
    .span6
      %h3
        Show it to me!
        %small
          With default options.
      %p
        %span.label.label-info Heads Up!
        There is no on-the-fly creation of sublists.
        Only list items that contain a sublist are drop targets.
      %ol.default.vertical
        %li
          First
          %ol
        %li
          Second
          %ol
        %li
          Third
          %ol
            %li First
            %li Second
            %li
              Third
              %ol
                %li First
                %li Second<commit_msg>added Safari to list of working browsers<commit_after>#home
  .hero-unit
    %h1 jQuery Sortable
    %p A flexible, opinionated sorting plugin for jQuery
    %p
      %a.btn.btn-large.btn-primary(href="https://github.com/johnny/jquery-sortable")
        %i.icon-eye-open.icon-white
        View on GitHub
      %a.btn.btn-large.btn-success(href="js/jquery-sortable.js")
        %i.icon-hdd.icon-white
        Download
        (v#{File.read("VERSION").strip})
    %p
      %small
        Download
        %a(href="js/jquery-sortable-min.js") minified
        version
        (#{file_kb("source/js/jquery-sortable-min.js")} kb, gzipped ~#{file_kb("source/js/jquery-sortable-min.js.gz")} kb)
#features
  .page-header
    %h1 Features
  .row
    .span6
      %h3 So what does it do?
      %ul
        %li Sorts any items in any container
        %li Fully supports nested containers
        %li Connect lists
        %li Callbacks and events (see docs)
        %li Pure drag/drop lists
        %li Vertical and horizontal sorting
      %h3 Why another sortable plugin?
      %p
        you might ask.
        Aren't there
        %a(href="#alternatives") many
        others?
      %p
        %strong The answer is: nested lists.
        None of the other solutions had a decent support for nested lists.
        %a(href="http://mjsarfatti.com/sandbox/nestedSortable/") nestedSortable
        relies on a fixed width hierarchy.
        Others mimic the way jQuery UI does
        %a(href="http://jqueryui.com/demos/sortable/") sortables
        and therefore require ugly
        %a(href="https://github.com/jquery/jquery-ui/pull/555") hacks
        that suffer from sudden jumps.
      %h3 The opinionated part
      %p
        This plugin does one and only one thing:
        %strong sorting
        \. If you need animations or autoscrolling, do them
        %a(href="#connected") yourself
        \.
      %p
        Moreover this plugin assumes that the placeholder has zero height/width.
        As a result, the item dimensions may be cached.
        %small This might change in the future, if need be.
      %h3 Compatibility
      %p
        %code jquery-sortable.js
        has been tested with the following browsers
      %ul
        %li Firefox >= 3.5
        %li Chrome
        %li IE > 7
        %li Safari >= 6
        %li Opera
        %li Konqueror
      %p
        If you confirmed, that it works on other browsers please
        %a(href="mailto:<EMAIL>") tell me
        \.
    .span6
      %h3
        Show it to me!
        %small
          With default options.
      %p
        %span.label.label-info Heads Up!
        There is no on-the-fly creation of sublists.
        Only list items that contain a sublist are drop targets.
      %ol.default.vertical
        %li
          First
          %ol
        %li
          Second
          %ol
        %li
          Third
          %ol
            %li First
            %li Second
            %li
              Third
              %ol
                %li First
                %li Second
{'fraction_non_alphanumeric': 0.08832755489516263, 'fraction_numerical': 0.005118045236915965, 'mean_word_length': 1.660518225735617, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7354428', 'n_tokens_mistral': 1792, 'n_tokens_neox': 1735, 'n_words': 576}