diff --git a/client/app/document/document.js b/client/app/document/document.js new file mode 100644 index 0000000..2ac1417 --- /dev/null +++ b/client/app/document/document.js @@ -0,0 +1,31 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .config(function ($routeProvider) { + $routeProvider + .when('/', { + templateUrl: 'app/document/index/index.html', + controller: 'DocumentIndexCtrl' + }) + .when('/user/:userid', { + templateUrl: 'app/document/index/index.html', + controller: 'DocumentIndexCtrl' + }) + .when('/:id', { + templateUrl: 'app/document/show/show.html', + controller: 'DocumentShowCtrl' + }) + .when('/:id/revision/new', { + templateUrl: 'app/document/revision-new/revision-new.html', + controller: 'DocumentRevisionNewCtrl' + }) + .when('/:id/revision/:revisionid', { + templateUrl: 'app/document/revision/revision.html', + controller: 'DocumentRevisionCtrl' + }) + .when('/wdiff/:revisionida/:revisionidb', { + templateUrl: 'app/document/wdiff/wdiff.html', + controller: 'DocumentWdiffCtrl' + }); + + }); \ No newline at end of file diff --git a/client/app/document/index/index.controller.js b/client/app/document/index/index.controller.js new file mode 100644 index 0000000..a1a012a --- /dev/null +++ b/client/app/document/index/index.controller.js @@ -0,0 +1,33 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .controller('DocumentIndexCtrl', function ($scope, $routeParams, $http, Auth, $location) { + $scope.documents = []; + $scope.newDocumentTitle; + + $scope.getCurrentUser = Auth.getCurrentUser; + $scope.isLoggedIn = Auth.isLoggedIn; + + // if routeParams specifies a user, restrict the query to that user + var path = '/api/documents'+ ($routeParams.userid ? '/owner/'+$routeParams.userid : ''); + $http.get(path).success(function(documents) { + $scope.documents = documents; + }); + + + $scope.createDocument = function () { + if ($scope.newDocumentTitle == "") + return + + //save the document + $http.post('/api/documents', {title: $scope.newDocumentTitle}) + .success(function(newDocument) { + $scope.documents.push(newDocument); + //and document view page + $location.path('/'+newDocument._id); + }); + + }; + + $scope.json = function (object) { return JSON.stringify(object, null, " "); }; + }) diff --git a/client/app/document/index/index.jade b/client/app/document/index/index.jade new file mode 100644 index 0000000..d2d881f --- /dev/null +++ b/client/app/document/index/index.jade @@ -0,0 +1,32 @@ +nav(ng-include='"components/navbar/navbar.html"') + +nav(ng-include='"components/elements/header.html"', onload='title = "documents"') + +.container + .row(ng-show='isLoggedIn()') + .col-lg-9.col-md-12.center-block + form.form-inline + .form-group + label(for='title-input') + | New Document + input.form-control(type='text', id='title-input', placeholder='title', ng-model='newDocumentTitle') + button.btn.btn-default(type='submit', ng-click='createDocument()') + | Create + + .row + .col-lg-6.col-md-12(ng-repeat='document in documents | orderBy:"currentRevision.created":true' ) + h4 + a(href='/{{document._id}}') + {{document.title}} + div + p + | State: + {{document.currentRevision.state}} + p + | Updated: + {{document.currentRevision.created}} + pre + {{json(document)}} + + +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/document/revision-new/revision-new.controller.js b/client/app/document/revision-new/revision-new.controller.js new file mode 100644 index 0000000..9beeaa3 --- /dev/null +++ b/client/app/document/revision-new/revision-new.controller.js @@ -0,0 +1,36 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .controller('DocumentRevisionNewCtrl', function ($scope, $routeParams, $http, Auth, $location) { + $scope.revision = {}; + + + $scope.getCurrentUser = Auth.getCurrentUser; + $scope.isLoggedIn = Auth.isLoggedIn; + + $scope.isOwner = function () { + var currentUser = Auth.getCurrentUser(); + if (!currentUser || !$scope.revision || !$scope.revision.owner) + return false; + + return $scope.revision.owner._id == currentUser._id; + }; + + var path = '/api/documents/' + $routeParams.id; + $http.get(path).success(function(revision) { + $scope.document = document; + $scope.revision = angular.copy(document.currentRevision); + }); + + + $scope.saveRevision = function() { + //save the revision to the document + $http.post('/api/documents/'+$routeParams.id+'/revisions', $scope.revision) + .success(function(newRevision) { + //and redirect to the revision view page + $location.path('/'+$routeParams.id+'/revision/'+newRevision._id); + }); + }; + + $scope.json = function (object) { return JSON.stringify(object, null, " "); }; + }) diff --git a/client/app/document/revision-new/revision-new.jade b/client/app/document/revision-new/revision-new.jade new file mode 100644 index 0000000..470b329 --- /dev/null +++ b/client/app/document/revision-new/revision-new.jade @@ -0,0 +1,26 @@ +nav(ng-include='"components/navbar/navbar.html"') + +nav(ng-include='"components/elements/header.html"', ng-onload='title = {{revision.created}}') + +.container + .row + form.col-lg-9.col-md-12.center-block + h4 + {{revision.document.title}} - {{revision.created}} + .form-group + label(for='status-input') + | Status + input.form-control(type='text', id='status-input', ng-model='revision.status') + .form-group + label(for='content-input') + | Content + textarea.form-control(id='content-input', ng-model='revision.content') + button.btn.btn-default(ng-click='saveRevision()') + | Save + + .row + pre.col-lg-9.col-md-12.center-block + {{json(revision)}} + + +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/document/revision/revision.controller.js b/client/app/document/revision/revision.controller.js new file mode 100644 index 0000000..38f00e9 --- /dev/null +++ b/client/app/document/revision/revision.controller.js @@ -0,0 +1,34 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .controller('DocumentRevisionCtrl', function ($scope, $routeParams, $http, Auth) { + $scope.revision = {}; + + $scope.getCurrentUser = Auth.getCurrentUser; + $scope.isLoggedIn = Auth.isLoggedIn; + + //returns true if the current user is logged in and is the owner of this document / revision + $scope.isOwner = function () { + var currentUser = Auth.getCurrentUser(); + if (!currentUser || !$scope.revision || !$scope.revision.owner) + return false; + + return $scope.revision.owner._id == currentUser._id; + } + + //returns true if this revision is the current revision in its document + $scope.isCurrent = function () { + if (!$scope.revision) + return false; + + return $scope.revision._id == $scope.revision.document.currentRevision; + } + + var path = '/api/documents/'+$routeParams.id+'/revisions/' + $routeParams.revisionid; + $http.get(path).success(function(revision) { + $scope.revision = revision; + }); + + $scope.json = function (object) { return JSON.stringify(object, null, " "); }; + + }) diff --git a/client/app/document/revision/revision.jade b/client/app/document/revision/revision.jade new file mode 100644 index 0000000..fa8dbd2 --- /dev/null +++ b/client/app/document/revision/revision.jade @@ -0,0 +1,28 @@ +nav(ng-include='"components/navbar/navbar.html"') + +nav(ng-include='"components/elements/header.html"', ng-onload='title = {{revision.created}}') + +.container + .row + span(ng-show='isCurrent()') + | Current revision + a.btn.btn-primary(ng-hide='isCurrent()' href='/wdiff/{{revision._id}}/{{revision.document.currentRevision}}') + | wdiff current + + .row + .col-lg-6.col-md-9.center-block + h4 + {{revision.created}} + div + p + | State: + {{revision.state}} + p + | Updated: + {{revision.created}} + div(btf-markdown='revision.content') + pre + {{json(revision)}} + + +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/document/show/show.controller.js b/client/app/document/show/show.controller.js new file mode 100644 index 0000000..f4d9439 --- /dev/null +++ b/client/app/document/show/show.controller.js @@ -0,0 +1,26 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .controller('DocumentShowCtrl', function ($scope, $routeParams, $http, Auth) { + $scope.document = {}; + + $scope.getCurrentUser = Auth.getCurrentUser; + $scope.isLoggedIn = Auth.isLoggedIn; + + $scope.isOwner = function () { + var currentUser = Auth.getCurrentUser(); + if (!currentUser || !$scope.document || !$scope.document.owner) + return false; + + return $scope.document.owner._id == currentUser._id; + } + + // if routeParams specifies a user, restrict the query to that user + var path = '/api/documents/' + $routeParams.id; + $http.get(path).success(function(document) { + $scope.document = document; + }); + + $scope.json = function (object) { return JSON.stringify(object, null, " "); }; + + }) diff --git a/client/app/document/show/show.jade b/client/app/document/show/show.jade new file mode 100644 index 0000000..f620479 --- /dev/null +++ b/client/app/document/show/show.jade @@ -0,0 +1,27 @@ +nav(ng-include='"components/navbar/navbar.html"') + +nav(ng-include='"components/elements/header.html"', ng-onload='title = {{document.title}}') + +.container + .row(ng-show='isOwner()') + form.col-lg-12 + a.btn.btn-primary(href='/{{document._id}}/revision/new') + | New Revision + + .row(ng-repeat='revision in document.revisions | orderBy:"created":true' ) + .col-lg-6.col-md-9.center-block + h4 + a(href='/{{document._id}}/revision/{{revision._id}}') + {{revision.created}} + div + p + | State: + {{revision.state}} + p + | Updated: + {{revision.created}} + pre + | {{json(revision)}} + + +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/document/wdiff/wdiff.controller.js b/client/app/document/wdiff/wdiff.controller.js new file mode 100644 index 0000000..657586c --- /dev/null +++ b/client/app/document/wdiff/wdiff.controller.js @@ -0,0 +1,40 @@ +'use strict'; + +angular.module('markdownFormatWdiffApp') + .controller('DocumentWdiffCtrl', function ($scope, $routeParams, $http, Auth) { + $scope.wdiff = ""; + $scope.same = false; + $scope.revisionA = {}; + $scope.revisionB = {}; + + $scope.getCurrentUser = Auth.getCurrentUser; + $scope.isLoggedIn = Auth.isLoggedIn; +/* + //returns true if the current user is logged in and is the owner of this document / revision + $scope.isOwner = function () { + var currentUser = Auth.getCurrentUser(); + if (!currentUser || !$scope.revision || !$scope.revision.owner) + return false; + + return $scope.revision.owner._id == currentUser._id; + } + + //returns true if this revision is the current revision in its document + $scope.isCurrent = function () { + if (!$scope.revision) + return false; + + return $scope.revision._id == $scope.revision.document.currentRevision._id; + } +*/ + var path = '/api/documents/wdiff/'+$routeParams.revisionida+'/'+$routeParams.revisionidb; + $http.get(path).success(function(result) { + $scope.result = result; + $scope.wdiff = result.wdiff; + $scope.revisionA = result.a; + $scope.revisionB = result.b; + }); + + $scope.json = function (object) { return JSON.stringify(object, null, " "); }; + + }) diff --git a/client/app/document/wdiff/wdiff.jade b/client/app/document/wdiff/wdiff.jade new file mode 100644 index 0000000..176a559 --- /dev/null +++ b/client/app/document/wdiff/wdiff.jade @@ -0,0 +1,19 @@ +wdiff.jadenav(ng-include='"components/navbar/navbar.html"') + +nav(ng-include='"components/elements/header.html"', ng-onload='title = {{revision.created}}') + +.container + .row + //!!! add controls to view a and b + + .row + .col-lg-6.col-md-9.center-block + h4 + | wdiff {{a.created}} " -- " {{b.created}} + div + div(btf-markdown='wdiff') + pre + {{json(result)}} + + +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/wdiff/wdiff.controller.js b/client/app/wdiff/wdiff.controller.js index 0de17b2..58cd11b 100644 --- a/client/app/wdiff/wdiff.controller.js +++ b/client/app/wdiff/wdiff.controller.js @@ -9,18 +9,13 @@ angular.module('markdownFormatWdiffApp') $scope.displayAsMarkdown = true; $scope.compare = function() { - $http.post('/api/wdiff', //+($scope.displayAsMarkdown ? '/markdown': ''), + $http.post('/api/wdiff'+($scope.displayAsMarkdown ? '/markdown': ''), { a: $scope.docA, b: $scope.docB }, {headers:{"Content-Type":"application/json"}}) .success(function (data) { if ($scope.displayAsMarkdown) { - var markdown = data.wdiff; - markdown = markdown.replace(/\[-/g, ''); - markdown = markdown.replace(/-\]/g, ''); - markdown = markdown.replace(/{\+/g, ''); - markdown = markdown.replace(/\+}/g, ''); - - $scope.wdiffMarkdown = markdown; //data.markdown; + + $scope.wdiffMarkdown = data.markdown; //data.markdown; $scope.wdiff = ''; } else { diff --git a/client/app/wdiff/wdiff.jade b/client/app/wdiff/wdiff.jade index ee5f052..f11c06d 100644 --- a/client/app/wdiff/wdiff.jade +++ b/client/app/wdiff/wdiff.jade @@ -1,8 +1,6 @@ -div(ng-include='"components/navbar/navbar.html"') +nav(ng-include='"components/navbar/navbar.html"') -header#banner.hero-unit - .container - h1 wdiff +nav(ng-include='"components/elements/header.html"', onload='title = "wdiff"') .container .row @@ -43,10 +41,4 @@ header#banner.hero-unit textarea.form-control(id='docB', ng-model='docB') -footer.footer - .container - p - | Wdiff online - = ' | ' - a(href='https://madanworb.com') Adam Brown - \ No newline at end of file +footer(ng-include='"components/elements/footer.html"') \ No newline at end of file diff --git a/client/app/wdiff/wdiff.js b/client/app/wdiff/wdiff.js index f9899a3..245f063 100644 --- a/client/app/wdiff/wdiff.js +++ b/client/app/wdiff/wdiff.js @@ -3,7 +3,7 @@ angular.module('markdownFormatWdiffApp') .config(function ($routeProvider) { $routeProvider - .when('/', { + .when('/test/wdiff', { templateUrl: 'app/wdiff/wdiff.html', controller: 'WdiffCtrl' }); diff --git a/client/components/elements/footer.jade b/client/components/elements/footer.jade new file mode 100644 index 0000000..debdbaa --- /dev/null +++ b/client/components/elements/footer.jade @@ -0,0 +1,8 @@ +div.footer + .container + p + a(href='https://madanworb.com') Adam Brown + = ' | ' + | This website is + a(href='https://github.com/adamarthurryan/wdiff-markdown-editor') open source + | . \ No newline at end of file diff --git a/client/components/elements/header.jade b/client/components/elements/header.jade new file mode 100644 index 0000000..9554f5b --- /dev/null +++ b/client/components/elements/header.jade @@ -0,0 +1,3 @@ +header#banner.hero-unit + .container + h1 {{title}} \ No newline at end of file diff --git a/client/index.html b/client/index.html index 308f9a6..36e4cee 100644 --- a/client/index.html +++ b/client/index.html @@ -68,6 +68,12 @@ + + + + + + diff --git a/markdown-format-wdiff.sublime-project b/markdown-format-wdiff.sublime-project new file mode 100644 index 0000000..35c9165 --- /dev/null +++ b/markdown-format-wdiff.sublime-project @@ -0,0 +1,17 @@ +{ + "folders": + [ + { + "follow_symlinks": true, + "path": "client" + }, + { + "follow_symlinks": true, + "path": "e2e" + }, + { + "follow_symlinks": true, + "path": "server" + } + ] +} diff --git a/markdown-format-wdiff.sublime-workspace b/markdown-format-wdiff.sublime-workspace new file mode 100644 index 0000000..bae075c --- /dev/null +++ b/markdown-format-wdiff.sublime-workspace @@ -0,0 +1,1044 @@ +{ + "auto_complete": + { + "selected_items": + [ + [ + "wdif", + "wdiffMarkdown" + ], + [ + "selected", + "selectedProviders" + ], + [ + "btn", + "btn-primary" + ], + [ + "definition", + "definition" + ], + [ + "tran", + "translateLanguage" + ], + [ + "exp", + "expressionSearch" + ], + [ + "define", + "defineMeaning" + ], + [ + "colo", + "colorFactor" + ], + [ + "dup", + "duplicate_user" + ], + [ + "import_exter", + "import_external_images_nonce" + ], + [ + "page-break", + "page-break-inside" + ], + [ + "array_key", + "array_key_exists" + ], + [ + "guess", + "guess" + ], + [ + "category", + "category_list" + ], + [ + "posts_", + "posts_to_fix" + ], + [ + "in", + "inline-block" + ], + [ + "text-", + "text-decoration" + ], + [ + "get_ca", + "get_cat_id" + ], + [ + "flatten", + "flatten" + ], + [ + "con", + "contains" + ], + [ + "add", + "addClass" + ], + [ + "h", + "hidden" + ], + [ + "page", + "page-break-before" + ] + ] + }, + "buffers": + [ + { + "file": "client/app/wdiff/wdiff.controller.js", + "settings": + { + "buffer_size": 1167, + "line_ending": "Unix" + } + }, + { + "settings": + { + "buffer_size": 0, + "line_ending": "Unix" + } + }, + { + "file": "server/api/wdiff/index.js", + "settings": + { + "buffer_size": 248, + "line_ending": "Unix" + } + }, + { + "file": "server/api/wdiff/wdiff.controller.js", + "settings": + { + "buffer_size": 2687, + "line_ending": "Unix" + } + }, + { + "file": "client/index.html", + "settings": + { + "buffer_size": 3904, + "line_ending": "Unix" + } + }, + { + "file": "bower.json", + "settings": + { + "buffer_size": 617, + "line_ending": "Unix" + } + }, + { + "file": "client/app/app.js", + "settings": + { + "buffer_size": 1515, + "line_ending": "Unix" + } + }, + { + "file": "client/app/wdiff/wdiff.js", + "settings": + { + "buffer_size": 224, + "line_ending": "Unix" + } + }, + { + "file": "client/app/wdiff/wdiff.jade", + "settings": + { + "buffer_size": 1122, + "line_ending": "Unix" + } + }, + { + "file": "client/app/wdiff/wdiff.scss", + "settings": + { + "buffer_size": 553, + "line_ending": "Unix" + } + }, + { + "file": "bin/markdown-format-wdiff", + "settings": + { + "buffer_size": 711, + "line_ending": "Unix" + } + }, + { + "file": "bin/markdown-git-changes", + "settings": + { + "buffer_size": 2724, + "line_ending": "Unix" + } + }, + { + "contents": "'use strict';\n\nangular.module('markdownFormatWdiffApp')\n .config(function ($routeProvider) {\n $routeProvider\n .when('/oldmain', {\n templateUrl: 'app/main/main.html',\n controller: 'MainCtrl'\n });\n });", + "file": "client/app/main/main.js", + "file_size": -1, + "file_write_time": -1, + "settings": + { + "buffer_size": 228, + "line_ending": "Unix" + } + } + ], + "build_system": "", + "command_palette": + { + "height": 157.0, + "selected_items": + [ + [ + "Package Control: ins", + "Package Control: Install Package" + ], + [ + "install", + "Package Control: Install Package" + ], + [ + "isntall", + "Package Control: Install Package" + ], + [ + "Package Control: in", + "Package Control: Install Package" + ] + ], + "width": 571.0 + }, + "console": + { + "height": 256.0, + "history": + [ + "import urllib.request,os; pr='Preferences.sublime-settings'; ip='ignored_packages'; n='Package Control'; s=sublime.load_settings(pr); ig=s.get(ip); ig.append(n); s.set(ip,ig); sublime.save_settings('Preferences.sublime-settings'); pf=n+'.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); by=urllib.request.urlopen('https://packagecontrol.io/'+pf.replace(' ','%20')).read(); open(os.path.join(sublime.installed_packages_path(),pf),'wb').write(by); ig.remove(n); s.set(ip,ig); sublime.save_settings(pr); print('Package Control: 3.0.0 upgrade successful!')", + "import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)", + "Package Control: Install Package", + "import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)", + "alert(\"a\")", + "help" + ] + }, + "distraction_free": + { + "menu_visible": true, + "show_minimap": false, + "show_open_files": true, + "show_tabs": false, + "side_bar_visible": false, + "status_bar_visible": false + }, + "expanded_folders": + [ + "/Z/markdown-format-wdiff", + "/Z/markdown-format-wdiff/bin", + "/Z/markdown-format-wdiff/client", + "/Z/markdown-format-wdiff/client/app", + "/Z/markdown-format-wdiff/client/app/wdiff", + "/Z/markdown-format-wdiff/server", + "/Z/markdown-format-wdiff/server/api", + "/Z/markdown-format-wdiff/server/api/wdiff", + "/Z/markdown-format-wdiff/server/config", + "/Z/markdown-format-wdiff/server/config/environment" + ], + "file_history": + [ + "/Z/lookup-lists/Gruntfile.js", + "/Z/docker/data/lookup-lists/client/app/list/list/list.jade", + "/Z/docker/data/lookup-lists/client/app/list/list/list.controller.js", + "/Z/docker/data/lookup-lists/client/app/list/item/item.jade", + "/Z/docker/data/lookup-lists/server/api/lookup/index.js", + "/Z/docker/data/lookup-lists/server/components/lookup/index.js", + "/Z/docker/data/lookup-lists/server/components/lookup/omegawiki.js", + "/Z/docker/data/lookup-lists/server/components/lookup/openlibrary.js", + "/Z/docker/data/lookup-lists/server/components/lookup/dbpedia.js", + "/Z/docker/data/lookup-lists/client/app/list/list.js", + "/Z/docker/data/lookup-lists/client/app/list/item/item.scss", + "/Z/docker/data/lookup-lists/server/components/lookup/panlex.js", + "/Z/docker/data/lookup-lists/client/app/list/item/item.controller.js", + "/C/Users/adam/AppData/Roaming/Sublime Text 3/Packages/User/Preferences.sublime-settings", + "/C/Users/adam/AppData/Roaming/Sublime Text 3/Packages/Default/Preferences.sublime-settings", + "/Z/docker/data/lookup-lists/client/app/list/index/index.jade", + "/Z/docker/data/lookup-lists/client/index.html", + "/Z/docker/data/lookup-lists/server/api/list/list.controller.js", + "/Z/docker/data/lookup-lists/server/api/lookup/controller.js", + "/Z/docker/data/lookup-lists/client/app/list/view/list.scss", + "/Z/docker/data/lookup-lists/client/app/list/edit/item.scss", + "/Z/docker/data/lookup-lists/server/config/express.js", + "/Z/docker/data/lookup-lists/client/app/list/edit/item.jade", + "/Z/docker/data/lookup-lists/client/app/list/edit/item.controller.js", + "/Z/docker/data/lookup-lists/server/config/environment/production.js", + "/Z/docker/data/lookup-lists/server/config/environment/test.js", + "/Z/docker/data/lookup-lists/server/config/environment/development.js", + "/Z/docker/data/lookup-lists/client/app/list/view/list.jade", + "/Z/docker/data/lookup-lists/server/api/list/index.js", + "/Z/docker/data/lookup-lists/client/app/list/view/list.controller.js", + "/Z/docker/docker-mean-dev/startup", + "/C/Windows/System32/drivers/etc/hosts", + "/Z/docker/data/lookup-lists/client/app/list/index/index.controller.js", + "/Z/docker/data/lookup-lists/client/app/list/edit/edit.controller.js", + "/Z/docker/data/lookup-lists/client/app/main/main.js", + "/Z/docker/data/lookup-lists/client/components/navbar/navbar.jade", + "/Z/docker/data/lookup-lists/client/app/app.scss", + "/Z/docker/data/lookup-lists/bower.json", + "/Z/docker/data/lookup-lists/client/app/lookup/lookup.jade", + "/Z/docker/data/lookup-lists/client/app/list/edit/edit.jade", + "/Z/docker/data/lookup-lists/client/app/list/index/username.filter.js", + "/Z/docker/data/lookup-lists/server/api/list/list.model.js", + "/Z/docker/data/lookup-lists/server/api/list/list.socket.js", + "/Z/docker/data/lookup-lists/client/components/navbar/navbar.controller.js", + "/Z/docker/data/lookup-lists/client/app/lists/lists.controller.js", + "/Z/docker/data/lookup-lists/client/app/lists/lists.jade", + "/Z/docker/data/lookup-lists/client/app/lists/lists.scss", + "/Z/docker/data/lookup-lists/client/app/lookup/lookup.js", + "/Z/docker/data/lookup-lists/server/config/local.env.js", + "/Z/docker/data/lookup-lists/server/config/seed.js", + "/Z/docker/data/lookup-lists/client/app/lists/lists.js", + "/Z/docker/data/lookup-lists/Gruntfile.js", + "/Z/docker/docker-mean-dev/Dockerfile", + "/Z/docker/docker-mean-dev/bootstrap.sh", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/api/lookup/index.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/index.html", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/app/lookup/lookup.controller.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/app/lookup/lookup.scss", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/app/lookup/lookup.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/package.json", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/routes.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/api/lookup/controller.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/app/lookup/lookup.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/bower_components/angular-sanitize/angular-sanitize.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/Gruntfile.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/api/list/list.controller.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/components/lookup/omegawiki.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/components/lookup/index.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/bower_components/jquery/src/css/addGetHookIf.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/client/bower_components/jquery/src/wrap.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/api/lookup/omegawiki/index.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-lists/server/api/lookup/provider.js", + "/C/Users/adam/Google Drive/projects/contracts/2014 lieutenants pump/product/wireless network manifest.txt", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/views/sparql-query.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/views/index.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/config/seed.js", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/controllers/home.js", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/views/omegawiki.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/controllers/sparql.js", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/controllers/omegawiki.js", + "/C/Users/adam/AppData/Local/Temp/Temp1_BabelNet-API-3.0.zip/BabelNet-API-3.0/licenses/README", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/app/views/sparql-results.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/config/express.js", + "/C/Users/adam/Downloads/karl-foaf.xrdf", + "/C/Users/adam/Downloads/foaf.rdf", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/SPARQL examples.md", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/package.json", + "/C/Users/adam/Desktop/vagrant/node/learning-sparql/README.md", + "/C/Users/adam/Downloads/wibi-ver1.0/README.txt", + "/C/cygwin/home/adam/.profile", + "/C/cygwin/home/adam/.bash_profile", + "/C/cygwin/home/adam/.bashrc", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/cldr/wn-cldr-eng.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/cldr/wn-cldr-afr.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/wikt/wn-wikt-kur.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/wikt/wn-wikt-ibl.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/wikt/wn-wikt-hrx.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/wikt/wn-wikt-dng.tab", + "/C/Users/adam/AppData/Local/Temp/Temp1_wn-wikt.zip/data/README", + "/C/Users/adam/Desktop/vagrant/node/language-learning-panlex/server/api/dictionary/language.model.js", + "/C/Users/adam/Desktop/vagrant/node/language-learning-panlex/server/api/dictionary/index.js", + "/C/Users/adam/Desktop/vagrant/node/language-learning-panlex/server/api/dictionary/dictionary.controller.js", + "/C/Users/adam/Desktop/vagrant/node/language-learning-panlex/.gitignore", + "/C/Users/adam/Desktop/vagrant/node/README.md", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-notes/.gitignore", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/api/note/note.model.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/routes.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/api/user/user.model.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/api/note/note.controller.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/config/seed.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/api/note/index.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/Gruntfile.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/package.json", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/config/local.env.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-hello/server/views/404.jade", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-holmes/Gruntfile.js", + "/C/Users/adam/Desktop/vagrant/node/scripttest/Gruntfile.js", + "/C/Users/adam/Desktop/vagrant/node/scripttest/package.json", + "/C/Users/adam/Desktop/vagrant/node/angular-phonecat/app/index.html", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-holmes/package.json", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-holmes/app.js", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-holmes/bower.json", + "/C/Users/adam/Desktop/vagrant/node/learning-mean-holmes/bin/www", + "/C/Users/adam/Desktop/git/learning-nodejs-hello/README.md", + "/C/Users/adam/Desktop/git/learning-nodejs-passport/README.md", + "/C/Users/adam/Desktop/git/learning-nodejs-passport/test2/Gruntfile.js", + "/C/Users/adam/Desktop/git/learning-nodejs-passport/test.sh", + "/C/Users/adam/Desktop/git/learning-nodejs-passport/bootstrap-npm.sh" + ], + "find": + { + "height": 43.0 + }, + "find_in_files": + { + "height": 117.0, + "where_history": + [ + "C:\\Users\\adam\\Desktop\\vagrant\\node\\scripttest", + "C:\\Users\\adam\\Desktop\\git\\learning-nodejs-passport\\scripttest", + "", + "C:\\Users\\adam\\Google Drive\\projects\\library-private\\website\\theme\\newlibrary-catalog-basic", + "C:\\Users\\adam\\Google Drive\\projects\\library-private\\website\\theme\\twentyfourteen", + "C:\\Users\\adam\\Google Drive\\projects\\library-public\\website\\theme\\twentyfourteen" + ] + }, + "find_state": + { + "case_sensitive": false, + "find_history": + [ + "livereload", + "35729", + "!!!", + "open", + "runt.task.run", + "open", + "xdg", + "git", + " <", + "callback", + "ListViewCtrl", + " console.log(\"found one!\");\n console.log(resource);\n", + "isloggedin", + "user", + "!list.user == req.user", + "(!list.user == req.user)", + "open", + "xdg", + "fucks", + "main", + "open", + "wait", + "express", + "express:dev", + "aggregate", + "type", + "prop", + "promise", + "mongo", + "reload", + "signup", + "localhost", + "process.env.PORT", + "process.env", + "9000", + "serve:", + "local", + "127", + "local", + "TEMPLATE_DIRS", + "provision", + "[", + "python", + "flash", + "initializeCapture", + "elapsed", + "setupMouse", + "firebolt", + "h1", + "Owner", + "ruby", + "entry-footer", + "return_f", + " a ", + " a", + "h1", + "Alegreya Sans SC", + "entry-title", + "font-family", + "leto", + "script", + "font", + "newlibrary_catalog_basic_posted_on", + "date", + "newlibrary_catalog_basic_categorized_blog", + "thum", + "posts_to_fix", + "$html", + "external_image_options", + "add_media_page", + "menu", + "external_image_import_all_ajax", + "external_images_verify_permission", + "admin", + "json_encode", + "can", + "user_can", + "action", + "query", + "h3", + "h4", + "h5", + " ", + "", + "", + "", + "