summaryrefslogtreecommitdiff
path: root/tests/qunit/suites/resources/jquery/jquery.localize.test.js
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /tests/qunit/suites/resources/jquery/jquery.localize.test.js
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'tests/qunit/suites/resources/jquery/jquery.localize.test.js')
-rw-r--r--tests/qunit/suites/resources/jquery/jquery.localize.test.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/qunit/suites/resources/jquery/jquery.localize.test.js b/tests/qunit/suites/resources/jquery/jquery.localize.test.js
index 3ef27903..c503fc99 100644
--- a/tests/qunit/suites/resources/jquery/jquery.localize.test.js
+++ b/tests/qunit/suites/resources/jquery/jquery.localize.test.js
@@ -76,8 +76,8 @@
html = '<div><span title-msg="title"><html:msg key="label" /></span></div>';
$lc = $( html ).localize( {
keys: {
- 'title': 'foo-' + x + '-title',
- 'label': 'foo-' + x + '-label'
+ title: 'foo-' + x + '-title',
+ label: 'foo-' + x + '-label'
}
} ).find( 'span' );
@@ -88,7 +88,7 @@
html = '<div><span><html:msg key="foo-welcome" /></span></div>';
$lc = $( html ).localize( {
params: {
- 'foo-welcome': [sitename, 'yesterday']
+ 'foo-welcome': [ sitename, 'yesterday' ]
}
} ).find( 'span' );
@@ -100,12 +100,12 @@
$lc = $( html ).localize( {
prefix: 'foo-',
keys: {
- 'title': x + '-title',
- 'label': x + '-label'
+ title: x + '-title',
+ label: x + '-label'
},
params: {
- 'title': [sitename, '3 minutes ago'],
- 'label': [sitename, '3 minutes ago']
+ title: [ sitename, '3 minutes ago' ],
+ label: [ sitename, '3 minutes ago' ]
}
} ).find( 'span' );