Comments (7)
I think it was in Jade at one point. Does this work? Just used some quick html2jade converter so I'm sure it's buggy:
!!! 5
html.no-js
//
<![endif]
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
title
meta(name='description', content='')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='stylesheet', href='css/style.css')
//if lt IE 9
script(src='js/vendor/selectivizr-1.0.2.min.js')
script(src='js/vendor/modernizr-2.6.2-respond-1.1.0.min.js')
body
//if lt IE 9
.browsehappy
p
| You are using an
strong outdated
| browser. Please
a(href='http://browsehappy.com/', target='_blank') upgrade your browser
| or
a(href='http://www.google.com/chromeframe/?redirect=true', target='_blank') activate Google Chrome Frame
| to improve your experience.
//if lt IE 9
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js')
script
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\\/script>')
//if gt IE 8
script(src='http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js')
script
window.jQuery || document.write('<script src="js/vendor/jquery-2.1.0.min.js"><\\/script>')
//
<![endif]
script(src='js/plugins.js')
script(src='js/main.js')
from boy.
Hehe I did exactly the same, and I got an error in one of those IE-related lines. Unfortunately I can't remember which one.
I thought of removing that line but that would go against the purpose.
I will try to reproduce the error and post it here
from boy.
@antoniobrandao Would you care to do this in a separate repo and maintain it? boy-jade
Will link you in README
from boy.
@antoniobrandao bump
from boy.
That sounds great, it would be an honor. I will give it a go. Give me just a few days, I'm in holidays at the moment, in a few days I'll put it up. Thanks
from boy.
👍
from boy.
@antoniobrandao I removed the conditional classes from the html
elem but I'm still closing this. It would probably be best for any versions of this (Jade, Haml, Slim, etc.) to be in their own repo instead of people having to pull in those versions every time they want a pure html version.
from boy.
Related Issues (20)
- Consider removing html overflow-y: scroll HOT 1
- Fix selectivizr link HOT 1
- Move overflow-y: scroll to body
- html, body { height: 100%; }
- Add vw polyfill HOT 2
- Consider adding transform polyfill HOT 1
- Remove html, body height/scroll rules HOT 2
- Unable to scroll vertically on webpage HOT 3
- Convert to npm package HOT 1
- putting this here for later HOT 1
- Calc polyfill don't work in Media queries HOT 3
- Boy on Bower? HOT 1
- u a paedo m8? HOT 1
- Action required: Greenkeeper could not be activated 🚨
- overflow-y to body
- Change <!--[if lt IE 10]> to <!--[if IE]> HOT 1
- Mistakes HOT 5
- Go through normalize and override explicit margins
- Hide overflow-x better
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boy.