Permalink
Browse files

Demos: View source: Grab HTML-only full-page demos as well.

  • Loading branch information...
gabrielschulhof committed Jul 4, 2013
1 parent f5dd72a commit a50c0d1a6e245825128a65a8ef94466dbe5e3acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/_assets/js/view-source.js
@@ -156,7 +156,7 @@ $.fn.viewSourceCode = function() {
};
$( document ).on( "pagebeforecreate", "[data-role='page']", function() {
$( this ).find( "[data-demo-html='true'], [data-demo-js], [data-demo-css], [data-demo-php]" ).viewSourceCode();
$( this ).find( "[data-demo-html], [data-demo-js], [data-demo-css], [data-demo-php]" ).viewSourceCode();
SyntaxHighlighter.defaults['toolbar'] = false;
SyntaxHighlighter.defaults['auto-links'] = false;
});

0 comments on commit a50c0d1

Please sign in to comment.