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
4b71a9da
Commit
4b71a9da
authored
4 years ago
by
Azat Alimov
Browse files
Options
Download
Email Patches
Plain Diff
data load fixed
parent
16ba645e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
context/MemriContext.ts
+1
-0
context/MemriContext.ts
cvu/views/Views.ts
+1
-0
cvu/views/Views.ts
demo-react.tsx
+4
-4
demo-react.tsx
with
6 additions
and
4 deletions
+6
-4
context/MemriContext.ts
+
1
-
0
View file @
4b71a9da
...
...
@@ -643,6 +643,7 @@ export class RootContext extends MemriContext {
// Reload for easy adjusting
this
.
views
.
context
=
this
this
.
views
.
install
()
this
.
sessions
.
install
(
this
);
}
// #endif*/
...
...
This diff is collapsed.
Click to expand it.
cvu/views/Views.ts
+
1
-
0
View file @
4b71a9da
...
...
@@ -17,6 +17,7 @@ import {dataItemListToArray} from "../../model/schema";
import
{
RealmObjects
}
from
"
../../model/RealmLocal
"
;
import
{
CVUStateDefinition
}
from
"
../../model/items/Item
"
;
import
{
ViewArguments
}
from
"
./CascadableDict
"
;
import
{
CascadingRenderConfig
}
from
"
./Renderers
"
;
export
class
Views
{
///
...
...
This diff is collapsed.
Click to expand it.
demo-react.tsx
+
4
-
4
View file @
4b71a9da
...
...
@@ -250,8 +250,8 @@ import {CacheMemri} from "./model/Cache";*/
let
context
=
new
RootContext
(
"
Memri GUI
"
,
"
ABCDEF
"
);
context
.
installer
.
await
(()
=>
{
/*
context.boot(false, () => {
/
!
*this.settingWatcher = context.settings.subscribe(
context
.
boot
(
false
,
()
=>
{
/*this.settingWatcher = context.settings.subscribe(
"device/sensors/location/track",
type: Bool.self
).sink {
...
...
@@ -259,8 +259,8 @@ context.installer.await(() => {
if value { SensorManager.shared.locationTrackingEnabledByUser() }
else { SensorManager.shared.locationTrackingDisabledByUser() }
}
}*
!
/
})
*/
}*/
})
});
context
.
installer
.
install
(
context
,
""
);
...
...
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