Permalink
Browse files

Merge commit '339d7ae9ad1989eea255ba4193757e38b1135bb7'

  • Loading branch information...
2 parents ee035f6 + 339d7ae commit e2373c25846642084a7d851e36086485564a614d @tmpvar committed Jul 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jsdom/level1/core.js
View
@@ -1106,7 +1106,7 @@ core.Document.prototype = {
/* returns Attr */
createAttribute: function(/* string */ name) {
- if (!name || !name.length || name.match(/[^\w:\d_-]+/) ) {
+ if (!name || !name.length || name.match(/[^\w:\d_\.-]+/) ) {
throw new core.DOMException(INVALID_CHARACTER_ERR);
}
return new core.Attr(this, name,false);

0 comments on commit e2373c2

Please sign in to comment.