dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c463d57
)
Resources: Enable es5-shim and json for mobile as well as desktop target
author
James D. Forrester
<jforrester@wikimedia.org>
Thu, 26 Jun 2014 16:44:11 +0000
(09:44 -0700)
committer
James D. Forrester
<jforrester@wikimedia.org>
Thu, 26 Jun 2014 16:46:22 +0000
(09:46 -0700)
Change-Id: I1237909d7e058137d55e5de9fa4d64fe1f7f9472
resources/Resources.php
patch
|
blob
|
history
diff --git
a/resources/Resources.php
b/resources/Resources.php
index
d4617fe
..
c767365
100644
(file)
--- 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 */