Skip to content

Commit

Permalink
b4
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianoNaraku committed Sep 14, 2023
1 parent 40f6704 commit 01fe513
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"main.css": "/jodel-react/build/static/css/main.f246d666.chunk.css",
"main.js": "/jodel-react/build/static/js/main.ee217053.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.ee217053.chunk.js.map",
"main.js": "/jodel-react/build/static/js/main.7416321f.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.7416321f.chunk.js.map",
"runtime-main.js": "/jodel-react/build/static/js/runtime-main.882b43a5.js",
"runtime-main.js.map": "/jodel-react/build/static/js/runtime-main.882b43a5.js.map",
"static/css/2.9a7d02e4.chunk.css": "/jodel-react/build/static/css/2.9a7d02e4.chunk.css",
Expand All @@ -22,6 +22,6 @@
"static/css/2.9a7d02e4.chunk.css",
"static/js/2.bb10d475.chunk.js",
"static/css/main.f246d666.chunk.css",
"static/js/main.ee217053.chunk.js"
"static/js/main.7416321f.chunk.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en" style="height:100%;width:100%"><head><meta charset="utf-8"/><link rel="icon" href="/jodel-react/build/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/jodel-react/build/logo192.png"/><link rel="manifest" href="/jodel-react/build/manifest.json"/><title>JJodel</title><link href="/jodel-react/build/static/css/2.9a7d02e4.chunk.css" rel="stylesheet"><link href="/jodel-react/build/static/css/main.f246d666.chunk.css" rel="stylesheet"></head><body style="height:100%;width:100%;background-color:#fff"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%;width:100%"></div><script>!function(e){function r(r){for(var n,l,a=r[0],i=r[1],c=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,c||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/jodel-react/build/";var a=this["webpackJsonpjodel-react"]=this["webpackJsonpjodel-react"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var c=0;c<a.length;c++)r(a[c]);var f=i;t()}([])</script><script src="/jodel-react/build/static/js/2.bb10d475.chunk.js"></script><script src="/jodel-react/build/static/js/main.ee217053.chunk.js"></script></body></html>
<!doctype html><html lang="en" style="height:100%;width:100%"><head><meta charset="utf-8"/><link rel="icon" href="/jodel-react/build/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/jodel-react/build/logo192.png"/><link rel="manifest" href="/jodel-react/build/manifest.json"/><title>JJodel</title><link href="/jodel-react/build/static/css/2.9a7d02e4.chunk.css" rel="stylesheet"><link href="/jodel-react/build/static/css/main.f246d666.chunk.css" rel="stylesheet"></head><body style="height:100%;width:100%;background-color:#fff"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root" style="height:100%;width:100%"></div><script>!function(e){function r(r){for(var n,l,a=r[0],i=r[1],c=r[2],p=0,s=[];p<a.length;p++)l=a[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,c||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/jodel-react/build/";var a=this["webpackJsonpjodel-react"]=this["webpackJsonpjodel-react"]||[],i=a.push.bind(a);a.push=r,a=a.slice();for(var c=0;c<a.length;c++)r(a[c]);var f=i;t()}([])</script><script src="/jodel-react/build/static/js/2.bb10d475.chunk.js"></script><script src="/jodel-react/build/static/js/main.7416321f.chunk.js"></script></body></html>
2 changes: 2 additions & 0 deletions build/static/js/main.7416321f.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.7416321f.chunk.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions build/static/js/main.ee217053.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.ee217053.chunk.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions src/graph/graphElement/graphElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function makeEvalContext(props: AllPropss, view: LViewElement): GObject {
edge: (RuntimeAccessibleClass.extends(props.node?.className, "DVoidEdge") ? props.node : undefined),
component, getSize:vcomponent?.getSize, setSize: vcomponent?.setSize};
// windoww.evalContext = evalContext;
console.log("proto makeevalcontext", {evalContext, proto:evalContext.__proto__});
return evalContext;
}

Expand Down Expand Up @@ -371,6 +372,7 @@ export class GraphElementComponent<AllProps extends AllPropss = AllPropss, Graph
// Log.exDev(debug && maxRenderCounter-- < 0, "loop involving render");
let context: GObject = {component:this, __proto__:this.props.evalContext};
context._context = context;
console.log("proto gettemplate", {context, proto:context.__proto__});

let displayError = (e: Error, where: string) => {
const view: LViewElement = this.props.view; //data._transient.currentView;
Expand Down
2 changes: 1 addition & 1 deletion src/redux/reducer/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export function jodelInit() {


windoww.defaultContext = {$: windoww.$, getPath, React: React, Selectors, ...RuntimeAccessibleClass.getAllClassesDictionary(), ...windoww.Components};
windoww.React = React;
// windoww.React = React;

/*for (let dclassname of dClasses) {
const dclass = RuntimeAccessibleClass.get(dclassname) as typeof DPointerTargetable;
Expand Down

0 comments on commit 01fe513

Please sign in to comment.