Created
November 9, 2012 16:58
-
-
Save chrisjdavis/4046844 to your computer and use it in GitHub Desktop.
stacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class GooglePrettify extends Plugin { | |
public function action_template_header() { | |
Stack::add( 'template_header_javascript', array( $this->get_url() . '/google-code-prettify/prettify.js', 'prettify-js') ); | |
Stack::add( 'template_stylesheet', array( $this->get_url() . '/google-code-prettify/prettify.css', 'screen' ), 'prettify-css'); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment