[if lt IE 9 的 Slim 模板引擎语法 [英] Slim template engine syntax for [if lt IE 9

查看:28
本文介绍了[if lt IE 9 的 Slim 模板引擎语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 slim 作为视图模板引擎 http://slim-lang.com/

I use slim as view template engine http://slim-lang.com/

你会如何用 slim 编写以下代码?

How would you write the following piece of code with slim?

谢谢

<!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

推荐答案

应该使用/!

/![if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]

这篇关于[if lt IE 9 的 Slim 模板引擎语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆