Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
Browser application
Commits
d5f60750
Commit
d5f60750
authored
4 years ago
by
Azat Alimov
Browse files
Options
Download
Email Patches
Plain Diff
small cleanup
parent
f3a9fcbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
memri/gui/util.ts
+0
-1
memri/gui/util.ts
memri/model/RealmLocal.ts
+0
-10
memri/model/RealmLocal.ts
with
0 additions
and
11 deletions
+0
-11
memri/gui/util.ts
+
0
-
1
View file @
d5f60750
import
{
debugHistory
}
from
"
../cvu/views/ViewDebugger
"
;
import
{
getItemType
,
ItemFamily
}
from
"
../model/items/Item
"
;
import
{
DatabaseController
}
from
"
../model/DatabaseController
"
;
//var fs = require("fs");
export
var
MemriJSONEncoder
=
function
(
x
)
{
return
JSON
.
stringify
(
x
);
...
...
This diff is collapsed.
Click to expand it.
memri/model/RealmLocal.ts
+
0
-
10
View file @
d5f60750
//import * as DB from "./defaults/default_database.json";
import
{
getItemType
}
from
"
./items/Item
"
;
/*let fs = require("fs");
var DB = fs.readFileSync("./defaults/default_database.json");*/
/*DB.forEach(function(x, i) {
if (!x.uid)
x.uid = (i + 1) + 1000000
/!*else
console.log(x.uid)*!/
})*/
export
class
Realm
{
db
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets