Skip to content

Commit

Permalink
Fixed some braindead bulldozer errors which really should have been p…
Browse files Browse the repository at this point in the history
…icked up by the parser.
  • Loading branch information
cgiffard committed Jun 29, 2012
1 parent 3830693 commit 5dd9f0e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions bulldozer.js
Expand Up @@ -122,22 +122,22 @@

// Elements which should not include any content.
var voidElements = {
"area": true,
"base": true,
"br": true,
"col": true,
"command": true,
"embed": true,
"hr": true,
"img": true,
"input": true,
"keygen": true,
"link": true,
"meta": true,
"param": true,
"source": true,
"track": true,
"wbr": true
"area": true,
"base": true,
"br": true,
"col": true,
"command": true,
"embed": true,
"hr": true,
"img": true,
"input": true,
"keygen": true,
"link": true,
"meta": true,
"param": true,
"source": true,
"track": true,
"wbr": true
};

// Clones an object (but not a deep clone.)
Expand All @@ -154,7 +154,7 @@
} else if (typeof object === "object") {
var newObj = {};

for (prop in object) {
for (var prop in object) {
if (object.hasOwnProperty(prop)) {
newObj[prop] = object[prop];
}
Expand Down

0 comments on commit 5dd9f0e

Please sign in to comment.