-module.exports = ->
+module.exports = (grunt) ->
 
   @initConfig
+    APP_ID: null
     JS_DIR: 'js/'
     JS_LIBS_DIR: '<%= JS_DIR %>lib/'
     ASSETS_DIR: 'assets/'

  @loadNpmTasks 'grunt-contrib-watch'
  @loadNpmTasks 'grunt-processhtml'
  @loadNpmTasks 'grunt-express'


  @registerTask 'server', ['copy:build', 'express', 'watch']
  @registerTask 'default', ['clean', 'jshint', 'uglify', 'cssmin', 'processhtml', 'htmlmin', 'copy']

          expand: true
          dest: '<%= DEV_DIR %>'
        ]

      assets:
        files: [
          src: ['<%= ASSETS_DIR %>**']
          expand: true
          dest: '<%= DIST_DIR %>'
        ]

      project:
        files: [
            src: '.project'
            dest: '<%= DIST_DIR %>'
          ,
            src: 'config.xml'
            dest: '<%= DIST_DIR %>'
        ]

    jshint:
