node package manager

grunt-content-assist

grunt-content-assist

content assist

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-content-assist --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-content-assist');

The "content_assist" task

Overview

In your project's Gruntfile, add a section named content_assist to the data object passed into grunt.initConfig().

grunt.initConfig({
  content_assist: {
      options: {
          namespace:'MyApp'
      },
      files: {
          src: ['./test/*.js'],
          dest: 'builds'
      }
  },
});

Options

options.namespace

Type: String

The namespace of js frameworks

Files

files.src

Type: String

A string value is the file which is the jsduck output.

files.dest

Type: String

A string value is the path your want to output the result.

Usage Examples

grunt.initConfig({
  content_assist: {
      options: {
          namespace:'MyApp'
      },
      files: {
          src: ['./test/*.js'],
          dest: 'builds'
      }
  },
});

Release History

0.2.2

  1. remove all keywords

0.2.2

  1. remove global file

0.2.1

  1. remove tmp and test file

0.2.0

  1. remove java commonds,rewrite transform codes
  2. remove shell.js plugin
  3. use jquery 1.8.3 plugin

0.1.2

  1. call shell to use JsAuto.jar to transform jsduck docs to eclipse content assist files