Title: Update function with differend templates · Issue #21 · deepq/embeddedjavascript · GitHub
Open Graph Title: Update function with differend templates · Issue #21 · deepq/embeddedjavascript
X Title: Update function with differend templates · Issue #21 · deepq/embeddedjavascript
Description: What steps will reproduce the problem? 1. Call (new EJS(options)).update(element) twice with differend templates and elements What is the expected output? What do you see instead? Expected different functions that updates only template w...
Open Graph Description: What steps will reproduce the problem? 1. Call (new EJS(options)).update(element) twice with differend templates and elements What is the expected output? What do you see instead? Expected differen...
X Description: What steps will reproduce the problem? 1. Call (new EJS(options)).update(element) twice with differend templates and elements What is the expected output? What do you see instead? Expected differen...
Opengraph URL: https://github.com/deepq/embeddedjavascript/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update function with differend templates","articleBody":"```\nWhat steps will reproduce the problem?\n1. Call (new EJS(options)).update(element) twice with differend templates and \nelements\n\nWhat is the expected output? What do you see instead?\nExpected different functions that updates only template which has been called \nby. Instead of this all functions try to update last template which has call \nupdate function.\n\nWhat version of the product are you using? On what operating system?\n1.0 Window 7 x86 Chrome 20\n\nPlease provide any additional information below.\nI think problem with closure. Variable _template replaced by 'this' value of \nlast object that call function update;\nFix (lines 102-105):\n\nreturn (function(_template){\n return function(object){\n EJS.prototype.update.call(_template, element, object);\n };\n}(this));\n```\n\nOriginal issue reported on code.google.com by `OzOn1...@gmail.com` on 17 Apr 2012 at 12:26\n","author":{"url":"https://github.com/GoogleCodeExporter","@type":"Person","name":"GoogleCodeExporter"},"datePublished":"2015-08-16T10:21:07Z","url":"https://github.com/deepq/embeddedjavascript/issues/21"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:15748dff-ab32-c705-b7bb-2a354cb8b1c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99B8:24A0A:CF36DC:10485A7:6B013290 |
| html-safe-nonce | d357b5854734787bec2bb384141f920ebfba63cc2068594b7bbeae246a0c10cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUI4OjI0QTBBOkNGMzZEQzoxMDQ4NUE3OjZCMDEzMjkwIiwidmlzaXRvcl9pZCI6IjQyMTYyNTk4NzQ2MTIzOTI1OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 45852d6b8a480aa416c0be580950955a0d5b78ca5fc2999a78ec82e43429465e |
| hovercard-subject-tag | issue:101250241 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/deepq/embeddedjavascript/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2a547b14f38e4d4d3824aa5a17fa8ba086cf57912e37f90d28d4bb92c9205b88/deepq/embeddedjavascript/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a547b14f38e4d4d3824aa5a17fa8ba086cf57912e37f90d28d4bb92c9205b88/deepq/embeddedjavascript/issues/21 |
| og:image:alt | What steps will reproduce the problem? 1. Call (new EJS(options)).update(element) twice with differend templates and elements What is the expected output? What do you see instead? Expected differen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GoogleCodeExporter |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/deepq/embeddedjavascript git https://github.com/deepq/embeddedjavascript.git |
| octolytics-dimension-user_id | 2634649 |
| octolytics-dimension-user_login | deepq |
| octolytics-dimension-repository_id | 40810020 |
| octolytics-dimension-repository_nwo | deepq/embeddedjavascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40810020 |
| octolytics-dimension-repository_network_root_nwo | deepq/embeddedjavascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width