From: James D. Forrester Date: Thu, 26 Jun 2014 16:44:11 +0000 (-0700) Subject: Resources: Enable es5-shim and json for mobile as well as desktop target X-Git-Tag: 1.31.0-rc.0~15226^2 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=e0897187b826f62b36c47ca961d9b1dd6328e2b4;p=lhc%2Fweb%2Fwiklou.git Resources: Enable es5-shim and json for mobile as well as desktop target Change-Id: I1237909d7e058137d55e5de9fa4d64fe1f7f9472 --- diff --git a/resources/Resources.php b/resources/Resources.php index d4617fea03..c767365485 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -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 */