Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11390 from KevinGrandon/bug_902199_fix_travis
Browse files Browse the repository at this point in the history
Bug 902199 - Fix travis error r=vingtetun
  • Loading branch information
KevinGrandon committed Aug 6, 2013
2 parents 70a9797 + 2713205 commit 90c0082
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 107 deletions.
2 changes: 1 addition & 1 deletion apps/homescreen/js/configurator.js
Expand Up @@ -29,7 +29,7 @@ var Configurator = (function() {
var provider = window[searchPage.provider] || dummyProvider;
if (searchPage.enabled) {
provider.init();
Homescreen.init(searchPage.separate_page? 1 : 0);
Homescreen.init(searchPage.separate_page ? 1 : 0);
} else {
startHomescreenByDefault();
setTimeout(provider.destroy, 0);
Expand Down
2 changes: 1 addition & 1 deletion apps/homescreen/js/homescreen.js
Expand Up @@ -164,7 +164,7 @@ var Homescreen = (function() {
},

didEvmePreventHomeButton: function() {
var evme = ("EvmeFacade" in window) && window.EvmeFacade;
var evme = ('EvmeFacade' in window) && window.EvmeFacade;
return evme.onHomeButtonPress && evme.onHomeButtonPress();
},

Expand Down
8 changes: 0 additions & 8 deletions apps/homescreen/test/unit/configurator_test.js
Expand Up @@ -84,14 +84,6 @@ suite('configurator.js >', function() {
assert.isUndefined(Configurator.getSection('petecan'));
});

/*
* It checks the conditions when there is a search provider
*/
test('Search provider enabled >', function() {
sendResponseText('{ "search_page":{ "provider": "xx","enabled": true } }');
assertHomescreen(1);
});

/*
* It checks the conditions when there is NOT a search provider
*/
Expand Down
97 changes: 0 additions & 97 deletions apps/homescreen/test/unit/rocketbar_test.js

This file was deleted.

0 comments on commit 90c0082

Please sign in to comment.