brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Make JSDocument usable after reloads #1186

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by DennisKehrig Friday Jun 29, 2012 at 21:56 GMT Originally opened as https://github.com/adobe/brackets/issues/1201


Currently JSDocument fetches the script object (with the script ID) when it's constructed. If the user then reloads the browser, the script ID is no longer valid. One solution is to always call ScriptAgent.scriptForURL(this.doc.url); where currently this.script.scriptIdis used, and getting rid of this.script entirely. The ScriptAgent should take care of making sure this information is cached and up to date (I think it does).

core-ai-bot commented 3 years ago

Comment by pthiess Tuesday Jul 17, 2012 at 17:50 GMT


Reviewed, this should be part of the user story we have in the backlog for Live Development. User story #263

core-ai-bot commented 3 years ago

Comment by pthiess Wednesday Oct 17, 2012 at 20:15 GMT


added to trello card mentioned above, closing.

core-ai-bot commented 3 years ago

Comment by DennisKehrig Wednesday Oct 17, 2012 at 21:49 GMT


Jonathan already took care of that in 6d8f54322fbdbedb889fc68c73e07c1216ed3958 and I apparently forgot to close this ticket.