Comparing version 0.28.1 to 0.28.2
@@ -23,3 +23,3 @@ /*! | ||
exports.version = '0.28.0'; | ||
exports.version = '0.28.2'; | ||
@@ -26,0 +26,0 @@ /** |
@@ -1,2 +0,1 @@ | ||
/*! | ||
@@ -396,6 +395,6 @@ * Jade - Parser | ||
var path = this.expect('extends').val.trim(); | ||
path = this.expect('extends').val.trim(); | ||
var dir = dirname(this.filename); | ||
var path = join(dir, path + '.jade'); | ||
path = join(dir, path + '.jade'); | ||
var str = fs.readFileSync(path, 'utf8'); | ||
@@ -454,4 +453,5 @@ var parser = new Parser(str, path, this.options); | ||
var join = path.join; | ||
var str; | ||
var path = this.expect('include').val.trim(); | ||
path = this.expect('include').val.trim(); | ||
var dir = dirname(this.filename); | ||
@@ -469,4 +469,4 @@ | ||
if ('.jade' != path.substr(-5)) { | ||
var path = join(dir, path); | ||
var str = fs.readFileSync(path, 'utf8'); | ||
path = join(dir, path); | ||
str = fs.readFileSync(path, 'utf8').replace(/\r/g, ''); | ||
var ext = extname(path).slice(1); | ||
@@ -478,4 +478,4 @@ var filter = filters[ext]; | ||
var path = join(dir, path); | ||
var str = fs.readFileSync(path, 'utf8'); | ||
path = join(dir, path); | ||
str = fs.readFileSync(path, 'utf8'); | ||
var parser = new Parser(str, path, this.options); | ||
@@ -482,0 +482,0 @@ parser.blocks = utils.merge({}, this.blocks); |
{ | ||
"name": "jade", | ||
"description": "Jade template engine", | ||
"version": "0.28.1", | ||
"version": "0.28.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -14,6 +14,6 @@ "repository": "git://github.com/visionmedia/jade", | ||
"commander": "0.6.1", | ||
"mkdirp": "0.3.x", | ||
"coffee-script": "~1.4.0" | ||
"mkdirp": "0.3.x" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "~1.4.0", | ||
"mocha": "*", | ||
@@ -33,4 +33,5 @@ "markdown": "*", | ||
"scripts": { | ||
"test": "mocha -R spec", | ||
"prepublish": "npm prune" | ||
} | ||
} |
@@ -1,5 +0,5 @@ | ||
[![Build Status](https://secure.travis-ci.org/visionmedia/jade.png)](http://travis-ci.org/visionmedia/jade) | ||
# Jade - template engine | ||
[![Build Status](https://secure.travis-ci.org/visionmedia/jade.png)](http://travis-ci.org/visionmedia/jade) | ||
[![Dependency Status](https://gemnasium.com/visionmedia/jade.png)](https://gemnasium.com/visionmedia/jade) | ||
# Jade - template engine | ||
Jade is a high performance template engine heavily influenced by [Haml](http://haml-lang.com) | ||
@@ -420,7 +420,7 @@ and implemented with JavaScript for [node](http://nodejs.org). For discussion join the [Google Group](http://groups.google.com/group/jadejs). | ||
```html | ||
<body> | ||
<head> | ||
<!--[if lt IE 8]> | ||
<script src="/ie-sucks.js"></script> | ||
<![endif]--> | ||
</body> | ||
</head> | ||
``` | ||
@@ -868,3 +868,3 @@ | ||
Jade also provides have `unless` which is equivalent to `if (!(expr))`: | ||
Jade also provides `unless` which is equivalent to `if (!(expr))`: | ||
@@ -1210,4 +1210,6 @@ ```jade | ||
_Note:_ If you try to run this snippet and `make` throws a `missing separator` error, you should make sure all indented lines use a tab for indentation instead of spaces. (For whatever reason, GitHub renders this code snippet with 4-space indentation although the actual README file uses tabs in this snippet.) | ||
```make | ||
JADE = $(shell find pages/*.jade) | ||
JADE = $(shell find . -wholename './pages/*.jade') | ||
HTML = $(JADE:.jade=.html) | ||
@@ -1218,6 +1220,6 @@ | ||
%.html: %.jade | ||
jade < $< --path $< > $@ | ||
jade < $< --path $< > $@ | ||
clean: | ||
rm -f $(HTML) | ||
rm -f $(HTML) | ||
@@ -1224,0 +1226,0 @@ .PHONY: clean |
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
265246
2
6206
1301
8
- Removedcoffee-script@~1.4.0
- Removedcoffee-script@1.4.0(transitive)