diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-03-18 15:52:06 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-18 15:52:06 +0100 |
commit | cc6c1529848022765b9be6be808cf4dfb5b2d029 (patch) | |
tree | aa3b96f618ff629a2d9e8cb10ed2a0b836c4a7ad /apps/files/js/files.js | |
parent | fe04106e0f6a88b5e3cf490773f2cb625465e98a (diff) | |
download | nextcloud-server-cc6c1529848022765b9be6be808cf4dfb5b2d029.tar.gz nextcloud-server-cc6c1529848022765b9be6be808cf4dfb5b2d029.zip |
Fixed matchMedia usage to make unit tests work in PhantomJS
PhantomJS has a bug that makes it impossible to properly stub
window.matchMedia. This fix adds a wrapper as OC._matchMedia
that is used for unit tests
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions