Resources: Enable es5-shim and json for mobile as well as desktop target
authorJames D. Forrester <jforrester@wikimedia.org>
Thu, 26 Jun 2014 16:44:11 +0000 (09:44 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Thu, 26 Jun 2014 16:46:22 +0000 (09:46 -0700)
Change-Id: I1237909d7e058137d55e5de9fa4d64fe1f7f9472

resources/Resources.php

index d4617fe..c767365 100644 (file)
@@ -684,6 +684,7 @@ return array(
 
        'json' => array(
                'scripts' => 'resources/lib/json2/json2.js',
+               'targets' => array( 'desktop', 'mobile' ),
                'skipFunction' => 'resources/src/json-skip.js',
        ),
 
@@ -1456,7 +1457,8 @@ return array(
                'scripts' => array(
                        'resources/lib/es5-shim/es5-shim.js',
                ),
-               'skipFunction' => 'resources/src/es5-skip.js'
+               'targets' => array( 'desktop', 'mobile' ),
+               'skipFunction' => 'resources/src/es5-skip.js',
        ),
 
        /* OOjs */