Fixed Proxy configuration for development environment to be in read-write mode.

This commit is contained in:
Giulio Cesare Solaroli 2014-07-29 14:56:58 +02:00
parent f3b5bed10a
commit c0f96f5de9
2 changed files with 8 additions and 2 deletions

View File

@ -109,7 +109,13 @@ Clipperz_normalizedNewLine = '\x0d\x0a';
<!-- div class="testBlock">
<script type="text/javascript" src="./js/TestData/User.data.js" charset="utf-8"></script>
<script>
Clipperz.PM.Proxy.defaultProxy = new Clipperz.PM.Proxy.Offline({shouldPayTolls:true, isDefault:true});
var dataStore = new Clipperz.PM.Proxy.Offline.DataStore({
'data': testData,
'readOnly': false,
'shouldPayTolls': false
});
Clipperz.PM.Proxy.defaultProxy = new Clipperz.PM.Proxy.Offline({'dataStore': dataStore});
Clipperz.PM.Proxy.defaultProxy.dataStore().setupWithEncryptedData(testData);
// Live Reload hoock

View File

@ -99,7 +99,7 @@
"Clipperz/PM/Proxy/Proxy.JSON.js",
"Clipperz/PM/Proxy/Proxy.Offline.js",
"Clipperz/PM/Proxy/Proxy.Offline.DataStore.js",
"Clipperz/PM/Proxy/Proxy.Offline.MemoryDataStore.js",
"-- Clipperz/PM/Proxy/Proxy.Offline.MemoryDataStore.js",
"Clipperz/PM/Proxy/Proxy.Offline.LocalStorageDataStore.js",
"Clipperz/PM/Connection.js",