diff --git a/.eslintrc b/.eslintrc index 1fc98be..d8824e9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,8 +16,8 @@ "no-proto": 0, "no-sparse-arrays": 1, "no-underscore-dangle": 0, - "no-invalid-this": 0, - "object-curly-newline": 0, + "no-invalid-this": 0, + "object-curly-newline": 0, "sort-keys": 0, }, @@ -26,7 +26,7 @@ "files": "examples/**", "rules": { "no-console": 0, - "no-plusplus": 0, + "no-plusplus": 0, }, }, ], diff --git a/index.js b/index.js index 032d0c5..07bfc52 100644 --- a/index.js +++ b/index.js @@ -55,8 +55,8 @@ function copy(src) { dst = {}; } else { var proto = (src.constructor && src.constructor.prototype) - || src.__proto__ - || {}; + || src.__proto__ + || {}; var T = function T() {}; // eslint-disable-line func-style, func-name-matching T.prototype = proto; dst = new T();