1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Reformat the code.

This commit is contained in:
zhixin 2014-05-07 01:14:16 +08:00
parent 86878cab06
commit c14fc1c280

View File

@ -240,7 +240,9 @@ function router() {
// http://docs.disqus.com/developers/universal/ // http://docs.disqus.com/developers/universal/
(function() { (function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = 'http://' + window.disqus_shortname + '.disqus.com/embed.js'; dsq.src = 'http://' + window.disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})(); })();
@ -284,7 +286,6 @@ function router() {
}).fail(function() { }).fail(function() {
show_error(); show_error();
}).always(function() { }).always(function() {
clearInterval(loading); clearInterval(loading);
$(ditto.loading_id).hide(); $(ditto.loading_id).hide();