Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select asset files recursively #30

Merged
merged 3 commits into from
Oct 13, 2017
Merged

Select asset files recursively #30

merged 3 commits into from
Oct 13, 2017

Conversation

hanstf
Copy link
Contributor

@hanstf hanstf commented Oct 8, 2017

Hi this is my implementation of the recursive assets selection. I tried to implement the second approach as it seems cleaner than the first one.
Unfortunately I have no time to modify the search and the format. Speaking of search, if let say there are 2 same files in different folder how are we going to handle ? show it in array ?

@hanstf
Copy link
Contributor Author

hanstf commented Oct 8, 2017

also for the format, I am just curious, is JS .filter work for the object as well ?

@gatukgl
Copy link
Contributor

gatukgl commented Oct 12, 2017

I don’t think .filter works with an object. Because I’ve tried to write a unit test for .format() in index.js and it break on this function.

@hanstf
Copy link
Contributor Author

hanstf commented Oct 12, 2017

@gatukgl ah okay.. no wonder.. will solve that once I have time.. because I didnt have much time to solve the format and search..

@btk btk merged commit b2acc3c into btk:master Oct 13, 2017
@btk
Copy link
Owner

btk commented Oct 13, 2017

@hanstf This is working great, great implementation.

Project is also getting transpiled with es2015. So you can go back and do syntax changes if you like.

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants