grunt-jquerymobiletransform

Grunt task for transforming HTML files with jQuery Mobile

npm install grunt-jquerymobiletransform
8 downloads in the last month

jQuery Transform

grunt-jquerymobiletransform is a grunt task for transforming HTML files with jQuerymobile

Installation

npm install grunt-jquerymobiletransform

Use

Simple Case

grunt.initConfig({
  jquerymobiletransform: {
    files: ['**/*.html'], // All HTML files
    transform: function($) {
      // For styling bullet separate from text
      $('.post li').wrapInner('<span />');
    }
  }
});

grunt.loadNpmTasks('grunt-jquerymobiletransform');
npm loves you