scratch – Blame information for rev 95
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
84 | office | 1 | var content; |
2 | $('script[data-example], style[data-example]').each(function(n, item) { |
||
3 | content = $(this).html(); |
||
4 | $('div[data-example="' + $(this).attr('data-example') + '"]') |
||
5 | .append( |
||
6 | '<pre><code class="language-' + ( $(this).prop('tagName').toLowerCase() === 'script' ? 'javascript' : 'css') + '">' + |
||
7 | $(this).html() |
||
8 | .replace(/[<>]/g, function(m) { return {'<':'<','>':'>'}[m];})> |
||
9 | <> .replace(/\t\t\t/g, "")> |
||
10 | <> .replace(/^\n/g, "")> |
||
11 | <> .replace(/\t\t$/g, "")> |
||
12 | <> .replace(/\n$/g, "") +> |
||
13 | <> '</pre></code>'> |
||
14 | <> );> |
||
15 | <>});> |
||
16 | |||
17 | <>var _gaq=[['_setAccount','UA-13184829-2'],['_trackPageview']];> |
||
18 | <>(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];> |
||
19 | <>g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';> |
||
20 | <>s.parentNode.insertBefore(g,s)}(document,'script'));> |