Skip to content

Commit

Permalink
b7
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianoNaraku committed Sep 14, 2023
1 parent 1942e53 commit 3391746
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 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.61b38111.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.61b38111.chunk.js.map",
"main.js": "/jodel-react/build/static/js/main.f029b09e.chunk.js",
"main.js.map": "/jodel-react/build/static/js/main.f029b09e.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.61b38111.chunk.js"
"static/js/main.f029b09e.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.61b38111.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.f029b09e.chunk.js"></script></body></html>
1 change: 0 additions & 1 deletion build/static/js/main.61b38111.chunk.js.map

This file was deleted.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/common/U.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,10 @@ export class U {
// if (allowScope && allowContext) { return new Function( "with(this){ return eval( '" + codeStr + "' ); }").call(scopeAndContext); }
let _ret: T = null as any;
console.log("pre eval 0", {scope0, sproto: scope0?.__proto__, context0, cproto: context0?.__proto__});
let scope: GObject | undefined = scope0 && {...scope0, __proto__: scope0.__proto__};
let context: GObject | undefined = context0 && {...context0, __proto__: context0.__proto__};
let scope: GObject | undefined;
let context: GObject | undefined;
if (scope0) { scope = {...scope0, __proto__: scope0.__proto__}; scope.__proto__ = scope0.__proto__; } else scope = undefined;
if (context0) { context = {...context0, __proto__: context0.__proto__}; context.__proto__ = context0.__proto__; } else context = undefined;
if (!context) context = scope; // se creo un nuovo contesto pulisco anche lo scope dalle variabili locali di questa funzione.
const _eval = {codeStr, context, scope};
console.log("pre eval 1", {scope, sproto: scope?.__proto__, context, cproto: context?.__proto__});
Expand Down

0 comments on commit 3391746

Please sign in to comment.