Sha256: bbbc43ececfe2ea9ffa5441eb3b3fb452b7c8621168f7faed71d490f254894c4

Contents?: true

Size: 621 Bytes

Versions: 10

Compression:

Stored size: 621 Bytes

Contents

# prettify.rb

if /\A(?:latest|day|month|nyear)\z/ =~ @mode then
	add_header_proc do
		<<-HTML
		<link href="https://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" src="https://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
		<script type="text/javascript"><!--
			if(window.addEventListener){
				window.addEventListener("load", prettyPrint, false);
			}else if(window.attachEvent){
				window.attachEvent("onload", prettyPrint);
			}else{
				window.onload=prettyPrint;
			}
		// --></script>
		HTML
	end
end

Version data entries

10 entries across 7 versions & 2 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/prettify.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-f08988dfa0f6/plugin/prettify.rb
tdiary-5.0.5 vendor/bundle/bundler/gems/tdiary-contrib-fa9c20aa0d97/plugin/prettify.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/prettify.rb
tdiary-contrib-5.0.4 plugin/prettify.rb
tdiary-5.0.4 vendor/bundle/bundler/gems/tdiary-contrib-8299b30cbf3f/plugin/prettify.rb
tdiary-contrib-5.0.3 plugin/prettify.rb
tdiary-contrib-5.0.2 plugin/prettify.rb
tdiary-contrib-5.0.1 plugin/prettify.rb
tdiary-contrib-5.0.0 plugin/prettify.rb