mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Added test data for the live view.
The data loading mechanism would be different in a CEF-based application, anyway.
This commit is contained in:
@@ -219,9 +219,11 @@ function setupEventHandlers() {
|
||||
}
|
||||
function processURLParams() {
|
||||
/* Get the data path from the URL and load it. */
|
||||
var pos = document.URL.indexOf("?data=");
|
||||
/*var pos = document.URL.indexOf("?data=");*/
|
||||
var pos = 0;
|
||||
if (pos != -1) {
|
||||
var datapath = 'file:///' + document.URL.substring(pos+6);
|
||||
/*var datapath = 'file:///' + document.URL.substring(pos+6);*/
|
||||
var datapath = 'testdata'
|
||||
console.log(datapath);
|
||||
require([datapath], function(){
|
||||
var totalMessageNo = 0;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user