Browse Source

upgrade nico.js

pull/868/merge
afc163 9 years ago
parent
commit
22bb5ea1b3
  1. 2
      nico.js
  2. 7
      site/templates/layout.html

2
nico.js

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

7
site/templates/layout.html

@ -12,7 +12,7 @@
<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">
{% 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('tomorrow.css')}}">
<!--[if IE 8]>
@ -44,7 +44,7 @@
latest: '{{config.package.version}}'
};
</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>
{% block scripts %}{% endblock %}
</head>
@ -57,9 +57,6 @@
<div class="search">
<div id="autoComplete"></div>
</div>
<div class="global-hint">
0.11 已发布,0.10 文档请访问 <a href="http://010x.ant.design/">010x.ant.design</a>
</div>
<nav class="nav">
<span class="bar"></span>
<ul>

Loading…
Cancel
Save