dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Enable and make pass no-prototype-builtins
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.Title
/
Title.js
diff --git
a/resources/src/mediawiki.Title/Title.js
b/resources/src/mediawiki.Title/Title.js
index
2b76187
..
c02af98
100644
(file)
--- a/
resources/src/mediawiki.Title/Title.js
+++ b/
resources/src/mediawiki.Title/Title.js
@@
-748,7
+748,7
@@
tiff: 'tif',
ogv: 'ogg'
};
tiff: 'tif',
ogv: 'ogg'
};
- if (
squish.hasOwnProperty(
lower ) ) {
+ if (
Object.prototype.hasOwnProperty.call( squish,
lower ) ) {
return squish[ lower ];
} else if ( /^[0-9a-z]+$/.test( lower ) ) {
return lower;
return squish[ lower ];
} else if ( /^[0-9a-z]+$/.test( lower ) ) {
return lower;