ni icon indicating copy to clipboard operation
ni copied to clipboard

Putting a directory into any of the directories `controllers`, `libraries`, `helpers`, `models` causes boot function to crash

Open chetan51 opened this issue 14 years ago • 3 comments

If the file structure is:

libraries
    downloader.js
    external
        readability.js

The following should work:

Ni.libraries.downloader
Ni.libraries.external.readability

chetan51 avatar Oct 07 '10 00:10 chetan51

I had a rather similar issue with our own sources checked out from a svn server. Subversion generates directories named ".svn" in each subdirectory. I've found a dirty workaround for me: In "ni/lib/ni.js" line: 465 I've added: if (! /~$/.test(file) && file!='.svn') {......

houmanb avatar Oct 08 '11 23:10 houmanb

Do you mind making a more general "ignore paths" solution, including ".git" folders and such, and sending a pull request? Thanks!

chetan51 avatar Oct 08 '11 23:10 chetan51

of course, why not. thanks for ni.

regards

On Sun, Oct 9, 2011 at 1:51 AM, Chetan Surpur < [email protected]>wrote:

Do you mind making a more general "ignore paths" solution, including ".git" folders and such, and sending a pull request? Thanks!

Reply to this email directly or view it on GitHub: https://github.com/chetan51/ni/issues/4#issuecomment-2334439

houmanb avatar Oct 09 '11 09:10 houmanb