@@ -11,14 +11,14 @@ var allowedKeywordsRE =
1111 new RegExp ( '^(' + allowedKeywords . replace ( / , / g, '\\b|' ) + '\\b)' )
1212
1313// keywords that don't make sense inside expressions
14- var imporperKeywords =
14+ var improperKeywords =
1515 'break,case,class,catch,const,continue,debugger,default,' +
1616 'delete,do,else,export,extends,finally,for,function,if,' +
1717 'import,in,instanceof,let,return,super,switch,throw,try,' +
1818 'var,while,with,yield,enum,await,implements,package,' +
1919 'proctected,static,interface,private,public'
20- var imporoperKeywordsRE =
21- new RegExp ( '^(' + imporperKeywords . replace ( / , / g, '\\b|' ) + '\\b)' )
20+ var improperKeywordsRE =
21+ new RegExp ( '^(' + improperKeywords . replace ( / , / g, '\\b|' ) + '\\b)' )
2222
2323var wsRE = / \s / g
2424var newlineRE = / \n / g
@@ -105,7 +105,7 @@ function restore (str, i) {
105105 */
106106
107107function compileExpFns ( exp , needSet ) {
108- if ( imporoperKeywordsRE . test ( exp ) ) {
108+ if ( improperKeywordsRE . test ( exp ) ) {
109109 _ . warn (
110110 'Avoid using reserved keywords in expression: '
111111 + exp
0 commit comments