Grunt task to add jquery mobile classes and extra DOM elements (spans etc) to HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
support
tasks
README.md
package.json

README.md

jQuery Transform

#Not an active plugin. Please make a pull-request if you ntend to fix it.

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');