pathfinder-ui
Advanced tools
Comparing version 0.1.111131 to 0.1.1111311
33
index.js
@@ -1,32 +0,1 @@ | ||
module.exports = require('./lib/pathfinder-ui.js'); | ||
// write all the logic in there ^ | ||
//Do not touch this file. | ||
//I mean it. | ||
//Seriously, don't put anything here. | ||
//I'm totally cereal. | ||
//If you are looking for code, you won't find it here. | ||
//But what you will find are a particular set of quotes. | ||
//Quotes acquired over a very long saturday afternoon. | ||
//Quotes that make me a warning for people like you. | ||
//If you leave this page now, that'll be the end of it. | ||
//I will not look for you, I will not pursue you. | ||
//But if you don't, I will look for you. | ||
//I will find you. | ||
//And I will pour glitter all over you. | ||
module.exports = require('./lib/pathfinder-ui.js'); |
var example = require('./example'); | ||
var pfroute = require('./pfroute'); | ||
module.exports = startHere; | ||
startHere.pfroute = pfroute; | ||
function startHere (app){ | ||
generateRouteTree(app); | ||
pfroute.request.RESTroutes = generateRouteTree(app); | ||
function generateRouteTree(app) { | ||
@@ -39,2 +38,3 @@ var topLevelRouteStack = app._router.stack; | ||
// test/api | ||
// console.log('something wrong here?',e.regexp.toString().slice(0, -1), e); | ||
var parentName = ''; | ||
@@ -47,4 +47,6 @@ if (e.regexp.test('/')){ | ||
} | ||
//var parentPath = pPath + "/" + e.regexp.toString().slice(0, -1).match(/\w+/ig).join("/"); | ||
var parentPath = pPath + parentName; | ||
console.log("pName", parentName); | ||
//console.log("pName", parentName); | ||
var route = {}; | ||
@@ -67,6 +69,6 @@ route[parentName] = []; | ||
}); | ||
console.log(allRoutes); | ||
//console.log(allRoutes); | ||
return allRoutes | ||
} | ||
} |
{ | ||
"name": "pathfinder-ui", | ||
"version": "0.1.111131", | ||
"version": "0.1.1111311", | ||
"private": false, | ||
"preferGlobal": false, | ||
"scripts": { | ||
"start": "node ./bin/www", | ||
"startmon": "nodemon ./bin/www" | ||
}, | ||
"author": "Cat, Sang, Ming, Tyler", | ||
@@ -18,3 +14,3 @@ "contributors": [ | ||
"name": "Sangmin Lee", | ||
"email": "poo@poo.com" | ||
"email": "sangmlee23@gmail.com" | ||
}, | ||
@@ -31,3 +27,4 @@ { | ||
"dependencies": { | ||
"angular": "^1.4.1" | ||
"angular": "^1.4.1", | ||
"express": "^4.13.0" | ||
}, | ||
@@ -34,0 +31,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5068
10
76
2
+ Addedexpress@^4.13.0
+ Addedaccepts@1.3.8(transitive)
+ Addedarray-flatten@1.1.1(transitive)
+ Addedbody-parser@1.20.3(transitive)
+ Addedbytes@3.1.2(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcontent-disposition@0.5.4(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcookie@0.7.1(transitive)
+ Addedcookie-signature@1.0.6(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddepd@2.0.0(transitive)
+ Addeddestroy@1.2.0(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedencodeurl@1.0.22.0.0(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedescape-html@1.0.3(transitive)
+ Addedetag@1.8.1(transitive)
+ Addedexpress@4.21.1(transitive)
+ Addedfinalhandler@1.3.1(transitive)
+ Addedforwarded@0.2.0(transitive)
+ Addedfresh@0.5.2(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedipaddr.js@1.9.1(transitive)
+ Addedmedia-typer@0.3.0(transitive)
+ Addedmerge-descriptors@1.0.3(transitive)
+ Addedmethods@1.1.2(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedms@2.0.02.1.3(transitive)
+ Addednegotiator@0.6.3(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedon-finished@2.4.1(transitive)
+ Addedparseurl@1.3.3(transitive)
+ Addedpath-to-regexp@0.1.10(transitive)
+ Addedproxy-addr@2.0.7(transitive)
+ Addedqs@6.13.0(transitive)
+ Addedrange-parser@1.2.1(transitive)
+ Addedraw-body@2.5.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsend@0.19.0(transitive)
+ Addedserve-static@1.16.2(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsetprototypeof@1.2.0(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedstatuses@2.0.1(transitive)
+ Addedtoidentifier@1.0.1(transitive)
+ Addedtype-is@1.6.18(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addedutils-merge@1.0.1(transitive)
+ Addedvary@1.1.2(transitive)