Skip to content

Commit

Permalink
v0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
minodisk committed Apr 2, 2012
1 parent 85551a9 commit 0cfbb4a
Show file tree
Hide file tree
Showing 9 changed files with 1,162 additions and 1 deletion.
1 change: 0 additions & 1 deletion README

This file was deleted.

32 changes: 32 additions & 0 deletions README.md
@@ -0,0 +1,32 @@
# SorterJS

Dictionary and natural sort module for Node.js, RequireJS and browser.

## Installation

### Node.js

$ npm install sorter

### RequireJS

<script type="text/javascript" src="require.js"></script>
<script type="text/javascript">
require(['sorter'], function (sorter) {
var dictionarySort = sorter.dictionarySort;
var naturalSort = sorter.naturalSort;
});
</script>

### browser

<script type="text/javascript" src="sorter.js"></script>
<script>
var dictionarySort = window.mn.dsk.sorter.dictionarySort;
var naturalSort = window.mn.dsk.sorter.naturalSort;
</script>

## API Documentation

* **dictionarySort(array, key = null)** -
* **naturalSort(array, key = null)** -
219 changes: 219 additions & 0 deletions lib/browser/sorter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/browser/sorter.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0cfbb4a

Please sign in to comment.