upgrade nico.js

This commit is contained in:
afc163 2016-01-14 02:00:05 +08:00
parent 5e635654ed
commit 22bb5ea1b3
2 changed files with 3 additions and 6 deletions

View File

@ -90,7 +90,7 @@ exports.middlewares = [
}, },
{ {
name: 'webpackDevMiddleware', name: 'webpackDevMiddleware',
filter: /\.(js|css)(\.map)?$/, filter: /\.(js|css)(\.map)?(\?.*)?$/,
handle: function(req, res, next) { handle: function(req, res, next) {
handler = handler || webpackMiddleware(webpackCompiler, { handler = handler || webpackMiddleware(webpackCompiler, {
publicPath: '/dist/', publicPath: '/dist/',

View File

@ -12,7 +12,7 @@
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon"> <link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
<link rel="shortcut icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon"> <link rel="shortcut icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
<link rel="stylesheet" href="{{static_url('../dist/demo.css')}}"> <link rel="stylesheet" href="{{static_url('../dist/demo.css')}}?20160114">
<link rel="stylesheet" href="{{static_url('style.css')}}"> <link rel="stylesheet" href="{{static_url('style.css')}}">
<link rel="stylesheet" href="{{static_url('tomorrow.css')}}"> <link rel="stylesheet" href="{{static_url('tomorrow.css')}}">
<!--[if IE 8]> <!--[if IE 8]>
@ -44,7 +44,7 @@
latest: '{{config.package.version}}' latest: '{{config.package.version}}'
}; };
</script> </script>
<script src="{{static_url('../dist/demo.js')}}"></script> <script src="{{static_url('../dist/demo.js')}}?20160114"></script>
<script src="https://t.alipayobjects.com/images/T1DrxhXe0mXXXXXXXX.js"></script> <script src="https://t.alipayobjects.com/images/T1DrxhXe0mXXXXXXXX.js"></script>
{% block scripts %}{% endblock %} {% block scripts %}{% endblock %}
</head> </head>
@ -57,9 +57,6 @@
<div class="search"> <div class="search">
<div id="autoComplete"></div> <div id="autoComplete"></div>
</div> </div>
<div class="global-hint">
0.11 已发布0.10 文档请访问 <a href="http://010x.ant.design/">010x.ant.design</a>
</div>
<nav class="nav"> <nav class="nav">
<span class="bar"></span> <span class="bar"></span>
<ul> <ul>