testdb
This commit is contained in:
parent
831356ca3e
commit
9efa5cf283
|
@ -7057,7 +7057,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
if(window.indexedDB){
|
||||
if(window.indexedDB||localStorage.getItem(lib.configprefix+'nodb')){
|
||||
var request = window.indexedDB.open(lib.configprefix+'data',4);
|
||||
request.onupgradeneeded=function(e){
|
||||
var db=e.target.result;
|
||||
|
@ -22314,7 +22314,7 @@
|
|||
selfclose:function(){
|
||||
if(game.online||game.onlineroom){
|
||||
if((game.servermode||game.onlinehall)&&_status.over){
|
||||
|
||||
// later
|
||||
}
|
||||
else{
|
||||
game.saveConfig('tmp_user_roomId');
|
||||
|
|
|
@ -2,7 +2,7 @@ var fs = require('fs');
|
|||
var webpage = require('webpage')
|
||||
var load = function(id){
|
||||
var page = webpage.create();
|
||||
page.settings.userAgent = 'SpecialAgent';
|
||||
page.settings.userAgent = 'NonameServer';
|
||||
page.open('file://'+fs.workingDirectory+'/index.html?server='+id, function(status) {
|
||||
if(status !== 'success') {
|
||||
console.log(fs.workingDirectory);
|
||||
|
|
Loading…
Reference in New Issue