<commit_before># Sortably

[![Build Status](https://travis-ci.org/alcarus/sortably.svg?branch=master)](https://travis-ci.org/alcarus/sortably)
[![License Badge](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/alcarus/sortably/blob/master/LICENSE)

A simple meteor sortable package that makes a list drag-and-drop sortable. Inspired by [Sortable](https://github.com/RubaXa/Sortable/tree/master/meteor) by [RubaXa](https://github.com/RubaXa) and [Sortable Lists in Meteor using JQuery UI](http://blog.differential.com/sortable-lists-in-meteor-using-jquery-ui/) by <NAME> at Differential.

## Installation
```
meteor add alcarus:sortably
```


## Usage
Simply add the following in your `onRendered` callback.
```
// sortable_list.html
<template name="sortableList">
	<div id="sortable-list">
	{{#each items}}
		<div class="well well-lg">
			<i class="glyphicon glyphicon-menu-hamburger"></i>
			<span>{{description}}</span>
			<span class="badge">{{order}}</span>
		</div><commit_msg>Changed build badge style to flat square.<commit_after># Sortably

[![Build Status](https://travis-ci.org/alcarus/sortably.svg?branch=master&style=flat-square)](https://travis-ci.org/alcarus/sortably)
[![License Badge](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/alcarus/sortably/blob/master/LICENSE)

A simple meteor sortable package that makes a list drag-and-drop sortable. Inspired by [Sortable](https://github.com/RubaXa/Sortable/tree/master/meteor) by [RubaXa](https://github.com/RubaXa) and [Sortable Lists in Meteor using JQuery UI](http://blog.differential.com/sortable-lists-in-meteor-using-jquery-ui/) by <NAME> at Differential.

## Installation
```
meteor add alcarus:sortably
```


## Usage
Simply add the following in your `onRendered` callback.
```
// sortable_list.html
<template name="sortableList">
	<div id="sortable-list">
	{{#each items}}
		<div class="well well-lg">
			<i class="glyphicon glyphicon-menu-hamburger"></i>
			<span>{{description}}</span>
			<span class="badge">{{order}}</span>
		</div>
{'fraction_non_alphanumeric': 0.17607655502392344, 'fraction_numerical': 0.0, 'mean_word_length': 5.355623100303951, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 12, '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': '1705670', 'n_tokens_mistral': 781, 'n_tokens_neox': 721, 'n_words': 133}