From b8fad5aba55fccf3a0c33812c4a6519ec57be95b Mon Sep 17 00:00:00 2001
From: Tankred Hase <mail@tankredhase.de>
Date: Tue, 26 Jan 2016 20:53:34 +0700
Subject: [PATCH] Revert "Enable ES6 support by using babelify transform in
 browserify build"

---
 .jshintrc    |  1 -
 Gruntfile.js | 16 ++--------------
 package.json |  2 --
 3 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/.jshintrc b/.jshintrc
index f6cecbb0..de1188fd 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -16,7 +16,6 @@
 	"trailing": true,
 	"undef": true,
 	"unused": true,
-	"esnext": true,
 
 	"predef": [
 			"console",
diff --git a/Gruntfile.js b/Gruntfile.js
index eeed3a3b..8a8a73ca 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -18,13 +18,7 @@ module.exports = function(grunt) {
           browserifyOptions: {
             standalone: 'openpgp'
           },
-          external: [ 'crypto', 'node-localstorage' ],
-          transform: [
-            ["babelify", {
-              ignore: ['*.min.js'],
-              presets: ["es2015"]
-            }]
-          ]
+          external: [ 'crypto', 'node-localstorage' ]
         }
       },
       openpgp_debug: {
@@ -36,13 +30,7 @@ module.exports = function(grunt) {
             debug: true,
             standalone: 'openpgp'
           },
-          external: [ 'crypto', 'node-localstorage' ],
-          transform: [
-            ["babelify", {
-              ignore: ['*.min.js'],
-              presets: ["es2015"]
-            }]
-          ]
+          external: [ 'crypto', 'node-localstorage' ]
         }
       },
       worker: {
diff --git a/package.json b/package.json
index 1da093c3..4aaad822 100644
--- a/package.json
+++ b/package.json
@@ -32,8 +32,6 @@
     "test": "grunt test"
   },
   "devDependencies": {
-    "babel-preset-es2015": "^6.3.13",
-    "babelify": "^7.2.0",
     "chai": "~3.4.1",
     "coveralls": "^2.11.2",
     "grunt": "~0.4.5",