Open core-ai-bot opened 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
Comment by pthiess Wednesday Oct 17, 2012 at 20:15 GMT
added to trello card mentioned above, closing.
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.
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 currentlythis.script.scriptId
is 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).