From e0897187b826f62b36c47ca961d9b1dd6328e2b4 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 26 Jun 2014 09:44:11 -0700 Subject: [PATCH] Resources: Enable es5-shim and json for mobile as well as desktop target Change-Id: I1237909d7e058137d55e5de9fa4d64fe1f7f9472 --- resources/Resources.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.20.1