Permalink
Browse files

add footer. fix site.js

  • Loading branch information...
1 parent 521e370 commit 65a845265387d1a3b47e5fc7f0ab26176e656aa2 @lepture lepture committed Apr 12, 2013
Showing with 5 additions and 5 deletions.
  1. +1 −1 static/js/site.js
  2. +1 −1 templates/layout.html
  3. +1 −1 templates/snippet/foot.html
  4. +2 −2 templates/snippet/head.html
View
@@ -52,7 +52,7 @@ seajs.use('jquery', function($) {
if (!isNaN(temp[temp.length - 1])) {
return;
}
- seajs.use(['$', 'http://static.alipayobjects.com/arale/popup/0.9.11/popup'], function($, Popup) {
+ seajs.use(['$', 'arale/popup/1.0.1/popup'], function($, Popup) {
// spm install message
var root = $('#sidebar-wrapper h1 sup a').html();
if (root && Popup) {
View
@@ -60,7 +60,7 @@
<div id="footer-wrapper">
<footer>
<p class="powered">
- {% block footer %}{% endblock %}
+ {%- include "snippet/foot.html" %}
</p>
</footer>
</div>
@@ -1,5 +1,5 @@
<a href="http://aralejs.org">Arale</a> •
<a href="http://aliceui.org">Alice</a> •
<a href="http://seajs.org">SeaJS</a> •
-<a href="https://github.com/spmjs/spm">spm</a> •
+<a href="https://spmjs.org">spmjs.org</a> •
<a href="{{system.homepage}}">{{system.name}}</a>
@@ -37,12 +37,12 @@
var query = location.search;
var srcdir = 'src';
var srccss = {{src.css|json_encode}};
+
if (query.indexOf('dist') > 0) {
srcdir = 'dist';
+ srccss = {{dist.css|json_encode}};
} else if (query.indexOf('cov') > 0) {
srcdir = 'src-cov';
- } else {
- srccss = {{dist.css|json_encode}};
}
seajs.config({

0 comments on commit 65a8452

Please sign in to comment.