Skip to content

Commit

Permalink
declare local var in test to prevent strict warning (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
client9 committed Apr 11, 2010
1 parent e0f2fa8 commit a115bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/specs/html/spec.js
Expand Up @@ -222,7 +222,7 @@ test('HTMLDocument.createElement(a)', function(){

var element;

a = document.createElement('a');
var a = document.createElement('a');

ok(a, 'element created');
equals(a.tagName, 'A', '.name');
Expand Down

0 comments on commit a115bd3

Please sign in to comment.