Comparing version 0.5.2 to 0.5.3
@@ -13,3 +13,3 @@ var Q = require('q'); | ||
*/ | ||
var ROOT_DIR = path.normalize(__dirname + '/../'); | ||
var ROOT_DIR = path.resolve(__dirname, '..'); | ||
@@ -74,3 +74,3 @@ | ||
filename = map[key]; | ||
if (!external) filename = ROOT_DIR + filename; | ||
if (!external) filename = path.resolve(ROOT_DIR, filename); | ||
@@ -248,4 +248,5 @@ promises.push(loadSingle(filename) | ||
if (pathname[0] == '/') return pathname; | ||
if (path.resolve(pathname) == pathname) return pathname; | ||
return path.normalize(path.dirname(inputPath) + '/' + pathname); | ||
return path.resolve(path.dirname(inputPath), pathname); | ||
} | ||
@@ -252,0 +253,0 @@ |
{ | ||
"name": "cleaver", | ||
"preferGlobal": true, | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Jordan Scales <scalesjordan@gmail.com>", | ||
@@ -6,0 +6,0 @@ "description": "30-second slideshows for hackers", |
@@ -76,5 +76,2 @@ # Cleaver | ||
All you need to do is write some blocks of markdown, separated by `--` | ||
on its own line and include options at the top. | ||
Slides are written in [Markdown](http://daringfireball.net/projects/markdown/), | ||
@@ -81,0 +78,0 @@ and are separated by two dashes (`--`). |
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
910
38513
206