function test()
{
  if (document.location.hash === '#tab1') {
    prepareDatabase(function () { doSetVersion(2); });
  } else if (document.location.hash === '#tab2') {
    doSetVersion(3);
  } else {
    result('fail - unexpected hash');
  }
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function test()
{
  if (document.location.hash === '#tab1') {
    prepareDatabase(function () { doSetVersion(2); });
  } else if (document.location.hash === '#tab2') {
    doSetVersion(3);
  } else {
    result('fail - unexpected hash');
  }
}
function test ( ) { if ( document . location . hash === '#tab1' ) { prepareDatabase ( function ( ) { doSetVersion ( 2 ) ; } ) ; } else if ( document . location . hash === '#tab2' ) { doSetVersion ( 3 ) ; } else { result ( 'fail - unexpected hash' ) ; } }
found in the LICENSE file.
found in the LICENSE file .