From 0739f983c79543b653e0f360bec3f9a45cf80094 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 22 Dec 2011 23:40:39 -0500 Subject: [PATCH] Quoting keyword for consistency and to avoid potential minification issues --- lib/MemberBuilderValidator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MemberBuilderValidator.js b/lib/MemberBuilderValidator.js index 875e6ad..9cce576 100644 --- a/lib/MemberBuilderValidator.js +++ b/lib/MemberBuilderValidator.js @@ -163,7 +163,7 @@ exports.prototype.validateMethod = function( ); } } - else if ( keywords.override ) + else if ( keywords[ 'override' ] ) { // using the override keyword without a super method may indicate a bug, // but it shouldn't stop the class definition (it doesn't adversely