Permalink
Browse files

readability

  • Loading branch information...
1 parent 686a15d commit 9bb07b62f06fe6f7d2f0b8cacb53b1641fda745d @bernardofire bernardofire committed Dec 19, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 jquery.metabrag.js
View
@@ -174,13 +174,13 @@
},
_insertList: function (element, data, fields) {
- for(o in fields) {
+ for(field in fields) {
// Drop showing empty string properties.
- if(typeof data[o] == "string" && data[o] == "" || data[o] == null) {
+ if(typeof data[field] == "string" && data[field] == "" || data[field] == null) {
continue;
}
- $("<li />").append("<span>"+fields[o]+":</span> ")
- .append(data[o])
+ $("<li />").append("<span>"+fields[field]+":</span> ")
+ .append(data[field])
.appendTo(element);
}
return element;

0 comments on commit 9bb07b6

Please sign in to comment.