Go to file
Gergő Tisza 53e965b469 Feature detect OOJS compatibility
OOJS uses es5-shim but does not use es5-sham so the following ES5
functions are not polyfilled:

Object.getPrototypeOf
Object.defineProperty
Object.getOwnPropertyDescriptor
Object.getOwnPropertyNames
Object.create
Object.defineProperties
Object.seal
Object.freeze
Object.preventExtensions
Object.isSealed
Object.isFrozen
Object.isExtensible

Grepping on them shows that Object.create is the only one in use in
OOJS, so checking for its existence should be enough to ensure that
OOJS works in the given browser.

Change-Id: Icf54a9c35b3599dd1831c10ffcd9f15573dc8b00
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/813
2014-07-28 23:54:47 +00:00
docs Add functionality to check & set opt-in flag from code, also for anons 2014-06-11 01:11:12 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-07-28 21:23:12 +02:00
resources Feature detect OOJS compatibility 2014-07-28 23:54:47 +00:00
tests Merge "Use image title in history" 2014-07-22 14:12:23 +00:00
.gitignore Adding first pass at jsduck docs 2014-01-21 11:44:58 -08:00
.gitreview Add .gitreview 2013-08-08 11:11:01 +02:00
.jshintignore Fix hash self-reaction 2014-02-24 19:14:45 +01:00
.jshintrc Make JSHint enforce ES3 compatibility 2014-05-28 22:58:33 +00:00
AUTHORS Big credits patch 2014-02-13 13:38:19 -08:00
COPYING Initial commit - working demo 2013-09-03 16:52:28 -07:00
importml.sh Make importml.sh less Linux-centric, more UNIX-agnostic 2013-12-05 00:19:02 +00:00
MultimediaViewer.i18n.php Update i18n shim 2014-04-22 13:31:20 +00:00
MultimediaViewer.php Feature detect OOJS compatibility 2014-07-28 23:54:47 +00:00
MultimediaViewerHooks.php Remove all survey-related code 2014-07-16 21:27:53 +00:00
viewer-ltr.svg Convert Mac line endings to Linux ones for some SVG files 2014-06-17 19:55:34 +00:00
viewer-rtl.svg Fix images and related CSS for RTL wikis 2013-11-26 00:54:18 +02:00