Skip to content

Commit

Permalink
respect manifest splash settings when simulating
Browse files Browse the repository at this point in the history
Change simulator splash config from hardcoded autoHide: true to use the
splash config from the manifest if it exists (falls back to autoHide:
true) if no splash config is found.
  • Loading branch information
collingreen committed Oct 17, 2015
1 parent d45b410 commit 369151d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/build/jsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ exports.JSConfig = Class(function () {
version: config.version || '',
simulator: config.isSimulated && config.simulator,
sdkVersion: config.sdkVersion || 'unknown',
splash: {
autoHide: true
},
splash: manifest.splash || { autoHide: true },
useWebGL: manifest.browser && manifest.browser.canvas && manifest.browser.canvas.useWebGL || false
};

Expand Down

0 comments on commit 369151d

Please sign in to comment.