mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
17
node_modules/jade/lib/lexer.js
generated
vendored
17
node_modules/jade/lib/lexer.js
generated
vendored
@@ -586,6 +586,21 @@ Lexer.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Block code.
|
||||
*/
|
||||
|
||||
blockCode: function() {
|
||||
var captures;
|
||||
if (captures = /^-\n/.exec(this.input)) {
|
||||
this.consume(captures[0].length - 1);
|
||||
var tok = this.tok('blockCode');
|
||||
this.pipeless = true;
|
||||
return tok;
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Attributes.
|
||||
*/
|
||||
@@ -845,6 +860,7 @@ Lexer.prototype = {
|
||||
if (isMatch) {
|
||||
// consume test along with `\n` prefix if match
|
||||
this.consume(str.length + 1);
|
||||
++this.lineno;
|
||||
tokens.push(str.substr(indent.length));
|
||||
}
|
||||
} while(this.input.length && isMatch);
|
||||
@@ -916,6 +932,7 @@ Lexer.prototype = {
|
||||
|| this["while"]()
|
||||
|| this.tag()
|
||||
|| this.filter()
|
||||
|| this.blockCode()
|
||||
|| this.code()
|
||||
|| this.id()
|
||||
|| this.className()
|
||||
|
||||
Reference in New Issue
Block a user