@@ -495,33 +495,35 @@ <h6>Some example usage:</h6>
495495
496496
497497 //uses default settings that are set in the config file
498- //make sure that input_files is set
498+ //make sure that css is set
499499 cssPurge.purgeCSSFiles();
500500
501501 //purging a CSS file
502502 cssPurge.purgeCSSFiles({
503- input_files :'demo/test1.css'
503+ css :'demo/test1.css'
504504 });
505505
506506 //purging a CSS file with HTML
507507 cssPurge.purgeCSSFiles({
508- input_files : 'demo/test1.css',
509- input_html_files : 'demo/html/test1.html'
508+ css : 'demo/test1.css',
509+ html : 'demo/html/test1.html'
510510 });
511511
512512 //purging a CSS file with HTML and options
513513 cssPurge.purgeCSSFiles({
514- input_files: 'demo/test1.css',
515- input_html_files: 'demo/html/test1.html',
514+ css_output: 'test1.min.css',
515+ css: 'demo/test1.css',
516+ html: 'demo/html/test1.html',
516517 trim : true,
517518 shorten : true,
518519 verbose : true
519520 });
520521
521522 //purging a CSS file with HTML, options and config
522523 cssPurge.purgeCSSFiles({
523- input_files: 'demo/test1.css',
524- input_html_files: 'demo/html/test1.html',
524+ css_output: 'test1.min.css',
525+ css: 'demo/test1.css',
526+ html: 'demo/html/test1.html',
525527 trim : true,
526528 shorten : true,
527529 verbose : true
@@ -617,10 +619,10 @@ <h4>For an overview of some of the options/features,
617619 < pre > < code class ="hljs json ">
618620{
619621 "options": {
620- "file_output ": "purged.min.css",
621- "input_files ": "demo/html/static-jekyll/_siteassets/main.css",
622+ "css_output ": "purged.min.css",
623+ "css ": "demo/html/static-jekyll/_siteassets/main.css",
622624
623- "input_html_files ": "demo/html/static-jekyll/_site",
625+ "html ": "demo/html/static-jekyll/_site",
624626
625627 "trim": true,
626628 "trim_keep_non_standard_inline_comments": false,
@@ -702,15 +704,15 @@ <h4>For an overview of some of the options/features,
702704 < tbody >
703705 < tr >
704706 < td >
705- file_output
707+ css_output
706708 </ td >
707709 < td >
708710 The name of the CSS file to output as.
709711 </ td >
710712 </ tr >
711713 < tr >
712714 < td >
713- input_files
715+ css
714716 </ td >
715717 < td >
716718 CSS file(s) to be processed.
@@ -720,7 +722,7 @@ <h4>For an overview of some of the options/features,
720722 </ tr >
721723 < tr >
722724 < td >
723- input_html_files
725+ html
724726 </ td >
725727 < td >
726728 HTML file(s) to be searched for CSS that is used.
0 commit comments