ResourceLoaderImageModule: Allow use on mobile
authorjdlrobson <jdlrobson@gmail.com>
Wed, 10 Dec 2014 23:31:48 +0000 (15:31 -0800)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 10 Dec 2014 23:34:40 +0000 (23:34 +0000)
Change-Id: Ic7913aa1a1e1fb8d3742503cbe8a6cb3427fc826

includes/resourceloader/ResourceLoaderImageModule.php

index 2ea3c06..9246df7 100644 (file)
@@ -39,6 +39,7 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
        protected $images = array();
        protected $variants = array();
        protected $prefix = array();
+       protected $targets = array( 'desktop', 'mobile' );
 
        /**
         * Constructs a new module from an options array.