Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-31 11:15:13 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-31 11:15:13 +0300
commit6c47f09d60bddbb13007c9d7c6fb65306bed8776 (patch)
tree2a98f835b1a860c9036dbe1a6f777be9d58aa947 /core/js
parent85d6d7b87c82bfed9f1a494d55074daff0e2e3ee (diff)
Remove unused OC._matchMedia helper
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/js/js.js b/core/js/js.js
index de27ff7a926..bc4a8413e0b 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -754,20 +754,6 @@ Object.assign(window.OC, {
},
/**
- * Wrapper for matchMedia
- *
- * This is makes it possible for unit tests to
- * stub matchMedia (which doesn't work in PhantomJS)
- * @private
- */
- _matchMedia: function(media) {
- if (window.matchMedia) {
- return window.matchMedia(media);
- }
- return false;
- },
-
- /**
* Returns the user's locale as a BCP 47 compliant language tag
*
* @return {String} locale string