aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/bootstrap.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:13:44 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:24 -0400
commitc13ddf22ed33ea23e5410735c118550a673feb58 (patch)
treeb58b1c2010dce954ffac17f65ed259614ce00c5a /tests/lib/bootstrap.js
parent8e28f474e5088fc4502131d76aba7807930f15af (diff)
downloadjquery-ui-c13ddf22ed33ea23e5410735c118550a673feb58.tar.gz
jquery-ui-c13ddf22ed33ea23e5410735c118550a673feb58.zip
Tests: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'tests/lib/bootstrap.js')
-rw-r--r--tests/lib/bootstrap.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js
index 47289494c..46e0e8ad2 100644
--- a/tests/lib/bootstrap.js
+++ b/tests/lib/bootstrap.js
@@ -1,6 +1,6 @@
( function() {
-requirejs.config({
+requirejs.config( {
paths: {
"globalize": "../../../external/globalize/globalize",
"globalize/ja-JP": "../../../external/globalize/globalize.culture.ja-JP",
@@ -12,7 +12,7 @@ requirejs.config({
"qunit-assert-classes": "../../../external/qunit-assert-classes/qunit-assert-classes",
"qunit-assert-close": "../../../external/qunit-assert-close/qunit-assert-close",
"qunit": "../../../external/qunit/qunit",
- "testswarm": "http://swarm.jquery.org/js/inject.js?" + (new Date()).getTime(),
+ "testswarm": "http://swarm.jquery.org/js/inject.js?" + ( new Date() ).getTime(),
"ui": "../../../ui"
},
shim: {
@@ -21,7 +21,7 @@ requirejs.config({
"qunit-assert-close": [ "qunit" ],
"testswarm": [ "qunit" ]
}
-});
+} );
// Create a module that disables back compat for UI modules
define( "jquery-no-back-compat", [ "jquery" ], function( $ ) {
@@ -108,7 +108,7 @@ function jqueryUrl() {
// - Automatically loads common, core, events, methods, and options
// - data-deprecated: Loads the deprecated test modules for a widget
// - data-no-back-compat: Set $.uiBackCompat to false
-(function() {
+( function() {
// Find the script element
var scripts = document.getElementsByTagName( "script" );
@@ -128,13 +128,13 @@ function jqueryUrl() {
var noBackCompat = !!script.getAttribute( "data-no-back-compat" );
if ( widget ) {
- modules = modules.concat([
+ modules = modules.concat( [
( deprecated ? "common-deprecated" : "common" ),
"core",
"events",
"methods",
"options"
- ]);
+ ] );
if ( deprecated ) {
modules = modules.concat( "deprecated" );
}