Skip to content

Commit

Permalink
Using void-elements module.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanth authored and ForbesLindesay committed Aug 31, 2014
1 parent f26d040 commit 44f4d6e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 28 deletions.
2 changes: 1 addition & 1 deletion lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var filters = require('./filters');
var doctypes = require('./doctypes');
var runtime = require('./runtime');
var utils = require('./utils');
var selfClosing = require('./self-closing');
var selfClosing = require('void-elements');
var parseJSExpression = require('character-parser').parseMax;
var constantinople = require('constantinople');

Expand Down
2 changes: 1 addition & 1 deletion lib/jade.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var Parser = require('./parser')
* Expose self closing tags.
*/

exports.selfClosing = require('./self-closing');
exports.selfClosing = require('void-elements');

/**
* Default supported doctypes.
Expand Down
22 changes: 0 additions & 22 deletions lib/self-closing.js

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
"jade": "./bin/jade.js"
},
"dependencies": {
"character-parser": "1.2.0",
"commander": "2.1.0",
"constantinople": "~2.0.0",
"mkdirp": "~0.5.0",
"transformers": "2.1.0",
"character-parser": "1.2.0",
"monocle": "1.1.51",
"with": "~3.0.0",
"constantinople": "~2.0.0"
"transformers": "2.1.0",
"void-elements": "~1.0.0",
"with": "~3.0.0"
},
"devDependencies": {
"coffee-script": "*",
Expand Down

0 comments on commit 44f4d6e

Please sign in to comment.