Skip to content

Commit

Permalink
chore: applying nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Dec 24, 2019
1 parent 2bb47bf commit 717d847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
7 changes: 1 addition & 6 deletions bin/templates/scripts/cordova/lib/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,7 @@ function mapLaunchStoryboardContents (splashScreens, launchStoryboardImagesDir)
scalesForIdiom[idiom].forEach(scale => {
sizes.forEach(width => {
sizes.forEach(height => {
const item = {
idiom,
scale,
width,
height
};
const item = { idiom, scale, width, height };

/* examples of the search pattern:
* scale ~ idiom ~ width height
Expand Down
6 changes: 1 addition & 5 deletions tests/spec/unit/prepare.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ describe('prepare', () => {

describe('launch storyboard feature (CB-9762)', () => {
function makeSplashScreenEntry (src, width, height) {
return {
src,
width,
height
};
return { src, width, height };
}

const noLaunchStoryboardImages = [];
Expand Down

0 comments on commit 717d847

Please sign in to comment.