Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"Getting started" demo page fixes #518

Closed
wants to merge 2 commits into from

2 participants

@Xaerxess

Just few minor fixes - I changed links to tutorials in index.tt to MetaCPAN, I also updated jQuery to most recent version (1.10.2) because the one bundled with Dancer2 was 4 years old (not a good first impression for newcomers).

@xsawyerx
Owner

:+1: Merged, thanks!

@xsawyerx xsawyerx closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
160 share/skel/public/javascripts/jquery.js
6 additions, 154 deletions not shown
View
8 share/skel/views/index.tt
@@ -28,10 +28,10 @@
<ul class="links">
<li><a
- href="http://search.cpan.org/~sukria/Dancer2/lib/Dancer2/Manual.pod">Introduction</a></li>
- <li><a href="http://search.cpan.org/~sukria/Dancer2/lib/Dancer2/Cookbook.pod">Cookbook</a></li>
+ href="https://metacpan.org/pod/Dancer2::Manual">Introduction</a></li>
+ <li><a href="https://metacpan.org/pod/Dancer2::Cookbook">Cookbook</a></li>
<li><a
- href="http://search.cpan.org/~sukria/Dancer2/lib/Dancer2/Tutorial.pod"
+ href="https://metacpan.org/pod/Dancer2::Tutorial"
title="a tutorial to build a small blog engine with Dancer">Tutorial</a></li>
</ul>
</li>
@@ -103,7 +103,7 @@
$('#about-content').slideToggle('fast', function() {
// ok
});
- return( false );
+ return false;
});
</script>
View
4 share/skel/views/layouts/main.tt
@@ -7,9 +7,9 @@
<link rel="stylesheet" href="<% request.uri_base %>/css/style.css" />
<!-- Grab Google CDN's jQuery. fall back to local if necessary -->
-<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">/* <![CDATA[ */
- !window.jQuery && document.write('<script type="text/javascript" src="<% request.uri_base %>/javascripts/jquery.js"><\/script>')
+ !window.jQuery && document.write('<script type="text/javascript" src="<% request.uri_base %>/javascripts/jquery.min.js"><\/script>')
/* ]]> */</script>
</head>
Something went wrong with that request. Please try again.