Browse Source

grunt-amberc: remove now obsolete 'init' option

Manfred Kroehnert 11 years ago
parent
commit
85d3604a72
1 changed files with 0 additions and 5 deletions
  1. 0 5
      grunt/tasks/grunt-amberc.js

+ 0 - 5
grunt/tasks/grunt-amberc.js

@@ -19,7 +19,6 @@ module.exports = function(grunt) {
          jsGlobals: ['global1', 'global2'],     // optional
          main_class: 'HelloWorld',              // optional
          output_name: 'helloWorld',            // optional
-         init: 'myInit',                       // optional
          main_file: 'myMain.js',               // optional
          deploy: true,                         // optional
          output_suffix: 'mySuffix',            // optional
@@ -66,10 +65,6 @@ module.exports = function(grunt) {
     if (undefined !== libraries) {
       configuration.load = libraries;
     }
-    var initFile = data.init;
-    if (undefined !== initFile) {
-      configuration.init = initFile;
-    }
     var mainClass = data.main_class;
     if (undefined !== mainClass) {
       configuration.main = mainClass;