Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
springBriz committed Feb 23, 2015
1 parent 027c9da commit 2e56790
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
9 changes: 6 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "table-row-mover",
"version": "0.1.0",
"version": "0.1.2",
"homepage": "https://github.com/springBriz/table-row-mover",
"authors": [
"springBriz <[email protected]>"
],
"moduleType": [
"amd"
"main": [
"./jquery.table-row-mover.js"
],
"dependencies": {
"jquery": ">=1.7"
},
"license": "MIT",
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion demo/initializr_bootstrap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h2>table row mover</h2>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.1.min.js"><\/script>')</script>

<script src="js/vendor/bootstrap.min.js"></script>
<script src="../../table-row-mover.js"></script>
<script src="../../jquery.table-row-mover.js"></script>

<script>
(function($) {
Expand Down
5 changes: 1 addition & 4 deletions table-row-mover.js → jquery.table-row-mover.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@
) : (
'+=' + (toEnd === true ? (function() {
var h = 0;
$placeholder.nextAll(selectors.row).each(function() {
if ($(this)[0] === $row[0]) {
return;
}
$placeholder.nextAll(selectors.row + ':not(:last)').each(function() {
h += $(this).height();
});
return h;
Expand Down

0 comments on commit 2e56790

Please sign in to comment.