truncate the change log to make the page a bit easier to search

This commit is contained in:
Tim Griesser 2014-06-04 16:47:56 -04:00
parent e73217e4c5
commit 94e8e39312

View File

@ -2203,6 +2203,10 @@ $ npm test
For More information, see this <a href="https://github.com/tgriesser/knex/pull/252">pull-request</a>.
</p>
<p><a href="#" class="js-change-log" style="text-align:center">Show Full Change log</a></p>
<div class="change-log" style="display:none;">
<p>
<b class="header">0.5.15</b> &mdash; <small><i>June 4, 2014</i></small> &mdash; <a href="https://github.com/tgriesser/knex/compare/0.5.14...0.5.15">Diff</a><br />
Dropped indexes feature now functions correctly, (#278).
@ -2520,6 +2524,8 @@ $ npm test
</p>
</div>
</div>
<script src="docs/assets/ga.js"></script>
<script src="/docs/assets/jquery.min.js"></script>
<script src="/docs/assets/jquery.cookie.js"></script>
@ -2536,7 +2542,6 @@ $ npm test
var mysql = dialects.mysql = Knex({client: 'mysql'});
var sqlite3 = dialects.sqlite3 = Knex({client: 'sqlite3'});
$(function() {
var setDialect = function(dialect) {
$.cookie('dialect', dialect, { expires: 7, path: '/' });
@ -2563,6 +2568,13 @@ $ npm test
});
$('.js-query-output').val(currentDialect);
displayDialect(currentDialect);
// Don't show the full change log.
$(".js-change-log").on('click', function(e) {
e.preventDefault();
$(this).remove();
$('.change-log').show();
});
});
</script>
</body>