Enable jquery.ui.position on mobile
authorjdlrobson <jdlrobson@gmail.com>
Wed, 31 Aug 2016 15:17:07 +0000 (08:17 -0700)
committerjdlrobson <jdlrobson@gmail.com>
Wed, 31 Aug 2016 15:17:07 +0000 (08:17 -0700)
Although this module is deprecated it appears to be used in isolation
from jquery.ui in key extensions such as Translate. To aid extensions
who need to transition away from it we should make this available on mobile.

This module does not appear to be loaded on startup and is the only
non-mobile targetted module used by the Translate extension so enabling
this will give us benefit.

This also fits in with the long term plan
of deprecating the targets field altogether.

Change-Id: Ib381b820c69832f9aa6fce01f5dae8b4f50d66fa

resources/Resources.php

index ef56cd3..5f45176 100644 (file)
@@ -571,6 +571,7 @@ return [
        ],
        'jquery.ui.position' => [
                'deprecated' => true,
+               'targets' => [ 'mobile', 'desktop' ],
                'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
                'group' => 'jquery.ui',
        ],