minmod
This commit is contained in:
parent
a778bac165
commit
eb66ddd3e3
|
@ -419,7 +419,7 @@
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
return [
|
return [
|
||||||
'actions' => $actions,
|
'actions' => $actions,
|
||||||
'globalStates' => $globalStates,
|
'states' => $globalStates,
|
||||||
'chips' => $chips
|
'chips' => $chips
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -237,6 +237,7 @@
|
||||||
var lsi = new localStorageInterface();
|
var lsi = new localStorageInterface();
|
||||||
lsi.createDataset('STATES.CNF' );
|
lsi.createDataset('STATES.CNF' );
|
||||||
lsi.createDataset('ACTIONS.CNF');
|
lsi.createDataset('ACTIONS.CNF');
|
||||||
|
lsi.createDataset('CHIPS.CNF');
|
||||||
lsi.createDataset('USERS.CNF' );
|
lsi.createDataset('USERS.CNF' );
|
||||||
lsi.createDataset('SERVER.CNF' );
|
lsi.createDataset('SERVER.CNF' );
|
||||||
lsi.createDataset('HISTORY.LOG');
|
lsi.createDataset('HISTORY.LOG');
|
||||||
|
@ -248,6 +249,7 @@
|
||||||
api.send({path: 'machineDefault/init'}, function(response){
|
api.send({path: 'machineDefault/init'}, function(response){
|
||||||
lsi.import('ACTIONS.CNF', response.actions);
|
lsi.import('ACTIONS.CNF', response.actions);
|
||||||
lsi.import('STATES.CNF', response.states);
|
lsi.import('STATES.CNF', response.states);
|
||||||
|
lsi.import('CHIPS.CNF', response.chips);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* (5) On initialise la carte + les puces */
|
/* (5) On initialise la carte + les puces */
|
||||||
|
|
Loading…
Reference in New Issue