From d44f3b6aa597c0288da68500fe1ed9d0c056b653 Mon Sep 17 00:00:00 2001 From: John Morrison <jrgmorrison@gmail.com> Date: Fri, 6 Jul 2012 19:35:55 -0700 Subject: [PATCH] fix issue GH-1958; add '/production/authenticate_with_primary.js' to items to exclude and reformat the single line array --- tests/static-resource-test.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/static-resource-test.js b/tests/static-resource-test.js index 66a83a9ba..76307a47a 100755 --- a/tests/static-resource-test.js +++ b/tests/static-resource-test.js @@ -23,7 +23,15 @@ suite.addBatch({ var res = resources.resources; assert.ok(files['/production/dialog.css'].length >= 3); // Get ride of non-localized asset bundles - ['/production/communication_iframe.js', '/production/include.js', '/production/dialog.css', '/production/browserid.css', '/production/ie8_main.css', '/production/ie8_dialog.css', '/production/relay.js', '/production/html5shim.js'].forEach( + ['/production/communication_iframe.js', + '/production/include.js', + '/production/dialog.css', + '/production/browserid.css', + '/production/ie8_main.css', + '/production/ie8_dialog.css', + '/production/relay.js', + '/production/html5shim.js', + '/production/authenticate_with_primary.js'].forEach( function (nonLocaleAsset) { delete res[nonLocaleAsset]; delete files[nonLocaleAsset]; -- GitLab