diff --git a/docs/index.html b/docs/index.html index f32d7cf36a..ff592e7adf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,13 +5,13 @@
For the quickest and easiest start, just copy this snippet into your webpage.
A fan of using Less? No problem, just clone the repo and add these lines:
-<script type="text/javascript" src="js/jquery/jquery.tablesorter.min.js"></script> -<script type="text/javascript"> - $(document).ready(function() { - $("table#sortTableExample").tablesorter( {sortList: [[1,0]]} ); +<script src="js/jquery/jquery.tablesorter.min.js"></script> +<script > + $(function() { + $("table#sortTableExample").tablesorter({ sortList: [[1,0]] }); }); </script> <table class="common-table zebra-striped"> @@ -1156,8 +1156,8 @@ Lorem ipsum dolar sit amet illo error ipsum veritaHow to use it
Use this option to make full use of Bootstrap's Less variables, mixins, and nesting in CSS via javascript in your browser.
-<link rel="stylesheet/less" type="text/css" href="less/bootstrap.less" media="all" /> -<script type="text/javascript" src="js/less-1.0.41.min.js"></script>+<link rel="stylesheet/less" href="less/bootstrap.less" media="all" /> +<script src="js/less-1.0.41.min.js"></script>
Not feeling the .js solution? Try the Less Mac app or use Node.js to compile when you deploy your code.