Remove unnecessary hasOwnProperty
This commit is contained in:
parent
f8b8e78b3e
commit
421c48fb53
|
|
@ -144,7 +144,7 @@ function SourceMap(options) {
|
|||
add(source, gen_line, gen_col, orig_line, orig_col, name);
|
||||
} : add,
|
||||
setSourceContent: sources_content ? function(source, content) {
|
||||
if (!HOP(sources_content, source)) {
|
||||
if (!(source in sources_content)) {
|
||||
sources_content[source] = content;
|
||||
}
|
||||
} : noop,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user