1
0
Fork 0

fixed jshint and shallowCopy

This commit is contained in:
Frank Celler 2016-03-09 09:58:53 +01:00
parent 5e027818c5
commit 72ff21f526
1 changed files with 3 additions and 0 deletions

View File

@ -1881,6 +1881,9 @@ var JSHINT = (function() {
if (membersOnly && typeof membersOnly[m] !== "boolean") {
warning("W036", state.tokens.curr, m);
}
if (m === "_shallowCopy" || m === "propertyKeys") {
return;
}
if (typeof member[m] === "number") {
member[m] += 1;
} else {