Connect app to site with socket

This commit is contained in:
brunosimon
2016-06-03 01:41:49 +02:00
parent 6e4bc28c90
commit 9347b79423
10 changed files with 101 additions and 24 deletions
+4 -4
View File
@@ -11,9 +11,9 @@ class Project
{
this.name = name
this.folders = {
root:
'.':
{
name : 'root',
name : '.',
files : {},
folders: {}
}
@@ -124,7 +124,7 @@ class Project
// Set up
let normalize_path = path.normalize( _path ),
path_parts = normalize_path.split( path.sep ),
folder = this.folders.root
folder = this
for( let _path_part of path_parts )
{
@@ -156,7 +156,7 @@ class Project
let normalize_path = path.normalize( _path ),
path_parts = normalize_path.split( path.sep ),
folder = this.folders.root,
folder = this,
found = true
for( let _path_part of path_parts )