This is an example of using Grunt to run Browserify to create minified client-side Javascript that uses jQuery.
To use the example, checkout & cd into the repo, then:
npm install
gruntNow open index.html in a web browser, and look in the console.
This is an example of using Grunt to run Browserify to create minified client-side Javascript that uses jQuery.
To use the example, checkout & cd into the repo, then:
npm install
gruntNow open index.html in a web browser, and look in the console.
| #Use the testping.sh script to retrieve the times of a Pings | |
| #Then use the following script to plot it with gnuplot | |
| set terminal pdfcairo font "Gill Sans,9" linewidth 2 rounded fontscale 1.0 | |
| set output "ping.pdf" | |
| set ylabel "Time in milliseconds" | |
| set xlabel "Number of Pings" | |
| plot "pingTimes.dat" w lp |
| <style type="text/css" media="screen"> | |
| table { | |
| font-size: x-small; | |
| font-family: sans-serif; | |
| } | |
| </style> | |
| <?php | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://github.com/jeresig/processing-js/raw/master/processing.min.js"></script> | |
| <script src="http://github.com/jeresig/processing-js/raw/master/examples/init.js"></script> | |
| <script type="text/javascript"> | |
| Array.max = function( array ){ | |
| return Math.max.apply( Math, array ); | |
| }; |
| <script src="http://github.com/jeresig/processing-js/raw/master/processing.min.js" type="text/javascript"></script> | |
| <script src="http://github.com/jeresig/processing-js/raw/master/examples/init.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| Array.max = function( array ) { | |
| return Math.max.apply( Math, array ); | |
| }; | |
| Array.min = function( array ){ | |
| return Math.min.apply( Math, array ); | |
| }; | |
| </script> |