Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Demos: View source: Grab HTML-only full-page demos as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jul 4, 2013
1 parent f5dd72a commit a50c0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/_assets/js/view-source.js
Expand Up @@ -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;
});
Expand Down

0 comments on commit a50c0d1

Please sign in to comment.