Commit 7166f39f authored by Troy A. Griffitts's avatar Troy A. Griffitts

added localFixup code to facilitate new checks for permissions and path folders

parent c1894ab2
......@@ -58,6 +58,17 @@ console.log('using localFixup instead of real SWORD plugin');
MobileAccessibility = {
setTextZoom : function(zoomLevel, callback) { callback(zoomLevel); }
};
cordova = {
plugins : {
permissions: {
checkPermission(x, callback) { if (callback) callback({ hasPermission : true }); }
}
},
file : {
applicationDirectory : '.'
}
};
window.resolveLocalFileSystemURL = function (x, callback) { if (callback) callback(null); };
setTimeout(function() {
app.onDeviceReady();
}, 1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment