Skip to content

Commit

Permalink
don't add empty string name to publish block; fixes #313
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Oct 9, 2013
1 parent 6e09dc9 commit 5d63747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/declaration/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// remove excess ws
n = names[i].trim();
// do not override explicit entries
if (publish[n] === undefined && base[n] === undefined) {
if (n && publish[n] === undefined && base[n] === undefined) {
publish[n] = null;
}
}
Expand Down

0 comments on commit 5d63747

Please sign in to comment.