Skip to content

Commit 8cd0e87

Browse files
committed
Merge branch 'master' of github.com:HubSpot/sortable
Conflicts: docs/intro.md js/sortable.min.js
2 parents 700c094 + b41acc6 commit 8cd0e87

7 files changed

Lines changed: 37 additions & 12 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Sort Table
1+
## Sortable
22

3-
### [Demo](http://github.hubspot.com/sortable/docs/welcome)
3+
### [Demo](http://github.hubspot.com/sortable/docs/welcome)    [Documentation](http://github.hubspot.com/sortable)
44

5-
Documentation coming soon.
5+
Sortable is an open-source javascript and CSS library which adds sorting functionality to tables. It is tiny (`<2kb`) and has no dependencies.
66

77
#### Credits
88

9-
Loosely based on [Stuart Langridge](https://github.com/stuartlangridge)'s [SortTable](http://www.kryogenix.org/code/browser/sorttable/) ([History](https://github.com/HubSpot/sortable/commits/e068642453bb39eed676ed338e9bbeb372ca74c4/sorttable.js), [Original](https://github.com/HubSpot/sortable/blob/37894eb51bda9f0e438d735967f16eef0d403ef9/sorttable.js))
9+
Loosely based on [Stuart Langridge](https://github.com/stuartlangridge)'s [SortTable](http://www.kryogenix.org/code/browser/sorttable/) ([History](https://github.com/HubSpot/sortable/commits/e068642453bb39eed676ed338e9bbeb372ca74c4/sorttable.js), [Original](https://github.com/HubSpot/sortable/blob/37894eb51bda9f0e438d735967f16eef0d403ef9/sorttable.js))

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sortable",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"homepage": "http://adamschwartz.co/sortable",
55
"authors": [
66
"Adam Schwartz <adam.flynn.schwartz@gmail.com>"

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sortable",
33
"repo": "adamschwartz/sortable",
44
"description": "The simplest, most elegant way to sort a table.",
5-
"version": "0.4.1",
5+
"version": "0.5.0",
66
"homepage": "http://adamschwartz.co/sortable",
77
"license": "MIT",
88
"keywords": [

docs/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ This example uses the "bootstrap" theme. For a full list of supported themes, ch
5151

5252
To learn more about how to use sortable, visit our API pages.
5353

54-
- [Basic](http://github.hubspot.com/sortable/api/basic)
54+
- [Options](http://github.hubspot.com/sortable/api/options)
5555
- [Themes](http://github.hubspot.com/sortable/api/themes)
5656

5757
#### Credits
5858

59-
Sortable is free and open-source, released on the [MIT Licenese](https://github.com/HubSpot/sortable/blob/master/LICENSE).
59+
Sortable is free and open-source, released on the [MIT License](https://github.com/HubSpot/sortable/blob/master/LICENSE).
6060

6161
#### Credits
6262

docs/welcome/index.html

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
<table class="showcase hero"><tr><td>
217217
<div class="showcase-inner">
218218
<h1>Sortable</h1>
219-
<h2>The simplest, most elegant way to sort a table.</h2>
219+
<h2>Drop-in script to make your tables sortable.</h2>
220220
<p>
221221
<a class="button" href="http://github.com/hubspot/sortable">★ On Github</a> &nbsp;&nbsp;
222222
<a class="button dark" href="https://github.com/HubSpot/sortable/releases">Download</a>
@@ -428,5 +428,26 @@ <h2>Help us spread the word.</h2>
428428
}
429429
})();
430430
</script>
431+
432+
<!-- HubSpot analytics -->
433+
<script type="text/javascript">
434+
(function(d,s,i,r) {
435+
if (d.getElementById(i)){return;}
436+
var n=d.createElement(s),e=d.getElementsByTagName(s)[0];
437+
n.id=i;n.src='//js.hubspot.com/analytics/'+(Math.ceil(new Date()/r)*r)+'/51294.js';
438+
e.parentNode.insertBefore(n, e);
439+
})(document,"script","hs-analytics",300000);
440+
</script>
441+
442+
<!-- Google analytics -->
443+
<script>
444+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
445+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
446+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
447+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
448+
449+
ga('create', 'UA-45159009-1', 'hubspot.com');
450+
ga('send', 'pageview');
451+
</script>
431452
</body>
432-
</html>
453+
</html>

js/sortable.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sortable",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"description": "The simplest, most elegant way to sort a table.",
55
"author": "Adam Schwartz <adam.flynn.schwartz@gmail.com>",
66
"license": "MIT",
@@ -9,7 +9,7 @@
99
"coffee-script": "~1.6.3",
1010
"grunt-contrib-uglify": "~0.2.4",
1111
"grunt-cli": "~0.1.9",
12-
"grunt": "~0.4.1",
12+
"grunt": "~0.5.0",
1313
"grunt-contrib-watch": "~0.5.3",
1414
"grunt-contrib-compass": "~0.5.0"
1515
}

0 commit comments

Comments
 (0)