summaryrefslogtreecommitdiff
path: root/tests/qunit/suites/resources/jquery/jquery.localize.test.js
diff options
context:
space:
mode:
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' );