function runApp(isRestart) {
  chrome.app.window.create('build.html', {
    'width': 900,
    'height': 700,
    'minWidth': 900,
    'minHeight': 700,
  },
  function(createdWindow) {
    createdWindow.contentWindow.addEventListener('load', function() {
      createdWindow.contentWindow.runApp(isRestart);
    })
  });
}
/**
 * Called on window load to start running the app.
 * @param {boolean} isRestart
 */
Called on window load to start running the app.
@param {boolean} isRestart
Called on window load to start running the app . @param { boolean } isRestart
function runApp(isRestart) {
  chrome.app.window.create('build.html', {
    'width': 900,
    'height': 700,
    'minWidth': 900,
    'minHeight': 700,
  },
  function(createdWindow) {
    createdWindow.contentWindow.addEventListener('load', function() {
      createdWindow.contentWindow.runApp(isRestart);
    })
  });
}
function runApp ( isRestart ) { chrome . app . window . create ( 'build.html' , { 'width' : 900 , 'height' : 700 , 'minWidth' : 900 , 'minHeight' : 700 , } , function ( createdWindow ) { createdWindow . contentWindow . addEventListener ( 'load' , function ( ) { createdWindow . contentWindow . runApp ( isRestart ) ; } ) } ) ; }
Called on window load to start running the app.
Called on window load to start running the app .