Skip to content

Commit

Permalink
妈蛋,写反了
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed May 17, 2016
1 parent c4ce652 commit 7a41755
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,10 +670,8 @@ var File = Object.derive(function() {
// 过滤掉私有属性。 _key
// 但是不过滤 __key
if (key !== 'cache' && key !== 'url' && !/^_[^_]/.test(key)) {
return;
obj[key] = self[key];
}

obj[key] = self[key];
});

return obj;
Expand Down

0 comments on commit 7a41755

Please sign in to comment.