Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readability

  • Loading branch information...
commit 9bb07b62f06fe6f7d2f0b8cacb53b1641fda745d 1 parent 686a15d
@bernardofire bernardofire authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 jquery.metabrag.js
View
8 jquery.metabrag.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.