Comparing version 0.1.4 to 0.1.5
@@ -229,3 +229,3 @@ var strscanner = require("strscanner"); | ||
module.exports.stringifySegments = function(segments, params, ignoreParams) { | ||
return "/" + segments.map(function(seg) { | ||
var segs = segments.map(function(seg) { | ||
var buffer = ""; | ||
@@ -237,2 +237,7 @@ if(seg.param) buffer += ":"; | ||
}).join("/"); | ||
if(segs.substr(0, 1) != ".") return "/" + segs; | ||
return segs; | ||
} | ||
@@ -239,0 +244,0 @@ |
{ | ||
"name": "crema", | ||
"description": "syntactic sugar for your javascript functions", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"repository": {}, | ||
@@ -6,0 +6,0 @@ "engines": {}, |
Sorry, the diff of this file is not supported yet
195
6607
7