Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!!! is deprecated, you must now use doctype #37

Closed
ManasJayanth opened this issue Jan 31, 2014 · 0 comments
Closed

!!! is deprecated, you must now use doctype #37

ManasJayanth opened this issue Jan 31, 2014 · 0 comments

Comments

@ManasJayanth
Copy link

As seen on this SO question and when I ran the code from ch05 I came across the following,
Error: /Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/views/index.jade:1
> 1| !!! 5
2| html(lang="en")
3| head
4| title Social Network

`!!!` is deprecated, you must now use `doctype`
    at Object.Lexer.doctype (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/lexer.js:248:13)
    at Object.Lexer.next (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/lexer.js:833:15)
    at Object.Lexer.lookahead (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/lexer.js:113:46)
    at Parser.lookahead (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/parser.js:111:23)
    at Parser.peek (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/parser.js:88:17)
    at Parser.parse (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/parser.js:126:26)
    at parse (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/jade.js:95:62)
    at Object.exports.compile (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/jade.js:152:9)
    at Object.exports.render (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/jade.js:256:15)
    at Object.exports.renderFile (/Users/prometheansacrifice/development/github-repos/book-node-mongodb-backbone/ch05/node_modules/jade/lib/jade.js:293:18)

The SO question directed me to this leading me to suggest to you to update all the jade code accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant