소스 검색

tech(nodejs upgrade): upgraded to nodejs 4.0 for grunt build

Torkel Ödegaard 10 년 전
부모
커밋
1900c81d9f
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 0
      circle.yml
  2. 2 2
      package.json
  3. 0 2
      public/app/features/dashboard/timepicker/timepicker.ts

+ 2 - 0
circle.yml

@@ -1,4 +1,6 @@
 machine:
+  node:
+    version: 4.0
   environment:
     GOPATH: "/home/ubuntu/.go_workspace"
     ORG_PATH: "github.com/grafana"

+ 2 - 2
package.json

@@ -53,8 +53,8 @@
     "tslint": "^2.5.0-beta"
   },
   "engines": {
-    "node": "0.10.x",
-    "npm": "1.2.x"
+    "node": "0.4.x",
+    "npm": "2.14.x"
   },
   "scripts": {
     "test": "grunt test",

+ 0 - 2
public/app/features/dashboard/timepicker/timepicker.ts

@@ -202,8 +202,6 @@ export function settingsDirective() {
     templateUrl: 'app/features/dashboard/timepicker/settings.html',
     controller: TimePickerCtrl,
     scope: true,
-    link: function() {
-    }
   };
 }