Initial commit

This commit is contained in:
WatermelonModders
2022-05-31 12:35:46 -04:00
commit fc5cb0c32c
4097 changed files with 447075 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
head
script(src='/jquery.js')
yield
if false
script(src='/jquery.ui.js')
+22
View File
@@ -0,0 +1,22 @@
tag = 'p'
foo = 'bar'
#{tag} value
#{tag}(foo='bar') value
#{foo ? 'a' : 'li'}(something) here
mixin item(icon)
li
if attributes.href
a(attributes)
img.icon(src=icon)
block
else
span(attributes)
img.icon(src=icon)
block
ul
+item('contact') Contact
+item(href='/contact') Contact
+11
View File
@@ -0,0 +1,11 @@
/**
* Module dependencies.
*/
var jade = require('../');
jade.renderFile('testing/index.jade', { pretty: true, debug: true, compileDebug: false }, function(err, str){
if (err) throw err;
console.log(str);
});
+6
View File
@@ -0,0 +1,6 @@
html
include head
script(src='/caustic.js')
script(src='/app.js')
body
block content
+7
View File
@@ -0,0 +1,7 @@
h1 Tobi
p Is a ferret
ul
li: a foo
li: a bar
li: a baz
+27
View File
@@ -0,0 +1,27 @@
function anonymous(locals, attrs, escape, rethrow) {
var attrs = jade.attrs, escape = jade.escape, rethrow = jade.rethrow;
var __jade = [{ lineno: 1, filename: "testing/user.jade" }];
try {
var buf = [];
with (locals || {}) {
var interp;
__jade.unshift({ lineno: 1, filename: __jade[0].filename });
__jade.unshift({ lineno: 1, filename: __jade[0].filename });
buf.push('<h1>Tobi');
__jade.unshift({ lineno: undefined, filename: __jade[0].filename });
__jade.shift();
buf.push('</h1>');
__jade.shift();
__jade.unshift({ lineno: 2, filename: __jade[0].filename });
buf.push('<p>Is a ferret');
__jade.unshift({ lineno: undefined, filename: __jade[0].filename });
__jade.shift();
buf.push('</p>');
__jade.shift();
__jade.shift();
}
return buf.join("");
} catch (err) {
rethrow(err, __jade[0].filename, __jade[0].lineno);
}
}