Permalink
Browse files

Cleanup per jslint

  • Loading branch information...
Yuri Gadow
Yuri Gadow committed Feb 14, 2012
1 parent deeb34f commit cf2278fc93d52f73e259772001da45ff0f2b6a43
Showing with 5 additions and 1 deletion.
  1. +5 −1 vendor/assets/javascripts/backbone_datalink.js
@@ -38,7 +38,11 @@
el.attr("checked", "checked");
}
} else {
- (modelValue === null) ? el.val("") : el.val(modelValue);
+ if (modelValue === null) {
+ el.val("");
+ } else {
+ el.val(modelValue);
+ }
}
return el;

0 comments on commit cf2278f

Please sign in to comment.