소스 검색

grunt-amberc: remove now obsolete 'init' option

Manfred Kroehnert 10 년 전
부모
커밋
85d3604a72
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  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;