Permalink
Browse files

Fixed some braindead bulldozer errors which really should have been p…

…icked up by the parser.
  • Loading branch information...
1 parent 3830693 commit 5dd9f0e3f6c96b61fcf5feca75d38afd0a695fdc @cgiffard committed Jun 29, 2012
Showing with 17 additions and 17 deletions.
  1. +17 −17 bulldozer.js
View
34 bulldozer.js
@@ -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.)
@@ -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];
}

0 comments on commit 5dd9f0e

Please sign in to comment.