Skip to content

Commit

Permalink
Merge pull request #12 from KitaeAgency/quickfix-patch-047
Browse files Browse the repository at this point in the history
Fix forgotten var in optimization from a previous version
  • Loading branch information
cvergne committed Sep 21, 2015
2 parents bcad12d + 71c08a8 commit 34a18f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions YAAH.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// =========================================================================
// YAAH - Yet Another AJAX Helper - v0.4.4
// YAAH - Yet Another AJAX Helper - v0.4.7
// =========================================================================
// Needs jQuery and Modernizr

Expand Down Expand Up @@ -184,24 +184,24 @@
$(target).children().hide();
$(target).prepend(loader);
} else {
$(item).children().hide();
$(item).prepend(loader);
$item.children().hide();
$item.prepend(loader);
}
return $(this);
break;

case 'bottom':
target ? $(target).append(loader) : $(item).append(loader);
target ? $(target).append(loader) : $item.append(loader);
return $(this);
break;

case 'remove':
target ? $(target).remove() : $(item).remove();
target ? $(target).remove() : $item.remove();
return $(this);
break;

case 'none':
target ? $(target).after(loader) : $(item).after(loader);
target ? $(target).after(loader) : $item.after(loader);
return $(this);
break;
}
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yaah-js",
"version": "0.4.6",
"version": "0.4.7",
"homepage": "https://github.com/les-argonautes/yaah",
"authors": [
{ "name": "adriench"},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yaah-js",
"version": "0.4.6",
"version": "0.4.7",
"dependencies": {
"jquery": ">=2.1.1",
"modernizr": ">=2.8.3"
Expand Down

0 comments on commit 34a18f2

Please sign in to comment.