Skip to content

Commit

Permalink
variable definition fixed; minified version methods obfuscated
Browse files Browse the repository at this point in the history
  • Loading branch information
simsalabim committed Oct 26, 2011
1 parent fc2beb5 commit 42f112c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sisyphus.js
Expand Up @@ -96,10 +96,10 @@
var value = $(elem).val();
if (elem.type == 'checkbox') {
if (elem.name.indexOf('[') != -1) {
var value = [];
value = [];
$('[name="' + elem.name + '"]:checked').each(function(){ value.push(this.value) });
} else {
var value = $(elem).is(':checked');
value = $(elem).is(':checked');
}
}
try {
Expand Down
2 changes: 1 addition & 1 deletion sisyphus.min.js

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

0 comments on commit 42f112c

Please sign in to comment.