Giter Site home page Giter Site logo

directories not working about filer.js HOT 4 OPEN

wehowski avatar wehowski commented on August 12, 2024
directories not working

from filer.js.

Comments (4)

wehowski avatar wehowski commented on August 12, 2024

The fullPath property of my DirectoryEntries resolves to
/filesystem:http:/persitent/path
I believe it should be
/filesystem:http://persitent/path
or just
/path

?

from filer.js.

ebidel avatar ebidel commented on August 12, 2024

Can you post a jsbin that repros the issue?

On Sat, Nov 5, 2016, 9:37 PM Till Wehowski [email protected] wrote:

The fullPath property of my DirectoryEntries resolves to
/filesystem:http:/persitent/path
I believe it should be
/filesystem:http://persitent/path
or just
/path

?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#63 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOigNxa5_2jwmL70yBL-pl994PNt0s0ks5q7VmXgaJpZM4KqLs7
.

from filer.js.

wehowski avatar wehowski commented on August 12, 2024

I accidentally prepended the scheme/protocol manually to the path in one place.
My Testexample is working now, except if I prepend '/' to the path.
In my App some files/pathes still not working, but I think I can overwork it to take care of cwd!
It seems that I must chdir all the time to reset the path after opening directories.
In my wrapper I now clone the current filer instance when performing a method call to try to avoid concurrent instances changing the path, but I am not sure if this really works.

Unfortunatly my test is not running in jsbin https://jsbin.com/mugicodayu/edit?html,js,output but I have a test here http://webfan.de/cdn/application/test/fs.filer.html
and the code here https://github.com/frdl/-Flow/blob/master/api-d/4/js-api/library.js/core/plugin.core.js#L11070

from filer.js.

wehowski avatar wehowski commented on August 12, 2024

Update: My example above is running in Opera, not FF not IE right now.

from filer.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.