gwbasic / pogon.html Goto Github PK
View Code? Open in Web Editor NEWGlobal look and feel HTML-based templating for Nodejs (expressjs)
License: MIT License
Global look and feel HTML-based templating for Nodejs (expressjs)
License: MIT License
(See GWBasic/z3#17)
When I use pogon.html 1.0.2, my site breaks with the following error:
Cannot read property '_options' of undefined at exports.html (/Users/andrewrondeau/git/z3/node_modules/cheerio/lib/static.js:133:10) at initialize.exports.html (/Users/andrewrondeau/git/z3/node_modules/cheerio/lib/api/manipulation.js:697:12) at merge (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:217:40) at Object.exports.render (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:89:8) at async View.exports.renderFile [as engine] (/Users/andrewrondeau/git/z3/node_modules/pogon.html/pogon.html.js:185:20)
I currently suspect this is a problem in pogon.html. For now I'm going to work around by forcing an older version of cheerio.
Items after the tag are ignored. This is problematic when an html file loads scripts after the tag.
For example, the script tag below are ignored in "somefile.pogon.html":
< html lang="en"> < head> < title>Some page< /title> < /head> < body> Some page < /body> < script src="scripts/http.js">< /script> < /html>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.