designer icon indicating copy to clipboard operation
designer copied to clipboard

still fails in Windows

Open IntranetFactory opened this issue 9 years ago • 3 comments

It seems that the fix https://github.com/Polymer/designer/commit/c4b86e255dbf40f156b85196943abfaa353b94d5 didn't really help.

2015-05-16_1500

IntranetFactory avatar May 16 '15 19:05 IntranetFactory

It seems to work better if I add the following code server/files.js:

function statToJson(path, stat) {

  var tmp = path.split("\\");
  path = tmp.join("/");
  if(path.indexOf("/") == 0) path = path.substring(1);

IntranetFactory avatar May 16 '15 19:05 IntranetFactory

So after the above change I see the source of the selected absolute-layout.html file. But when I click into the box labeled "One" I immediately get the error below. Is this again Windows related?

2015-05-16_1536

IntranetFactory avatar May 16 '15 19:05 IntranetFactory

@justinfagnani are my changes of server/files.js above ok? Should the designer work in windows?

IntranetFactory avatar May 21 '15 22:05 IntranetFactory