From cf85079d2210fee3127e0900a43a8ad702f2ad86 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 21 Jul 2014 09:59:13 +0200 Subject: [PATCH] Mark 'es5Strict' checks as errors --- build.py | 4 +--- buildcfg/examples-all.json | 4 +--- buildcfg/ol.json | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/build.py b/build.py index b8eb25358c..2c394c5c76 100755 --- a/build.py +++ b/build.py @@ -254,6 +254,7 @@ def examples_star_json(name, match): "duplicate", "duplicateMessage", "es3", + "es5Strict", "externsValidation", "fileoverviewTags", "globalThis", @@ -276,9 +277,6 @@ def examples_star_json(name, match): "extra_annotation_name": [ "api", "observable" ], - "jscomp_off": [ - "es5Strict" - ], "compilation_level": "ADVANCED", "output_wrapper": "// OpenLayers 3. See http://ol3.js.org/\n(function(){%output%})();", "use_types_for_optimization": True, diff --git a/buildcfg/examples-all.json b/buildcfg/examples-all.json index 5e2b2f5b5a..55deb4037f 100644 --- a/buildcfg/examples-all.json +++ b/buildcfg/examples-all.json @@ -33,6 +33,7 @@ "deprecated", "duplicateMessage", "es3", + "es5Strict", "externsValidation", "fileoverviewTags", "globalThis", @@ -58,9 +59,6 @@ "extra_annotation_name": [ "api", "observable" ], - "jscomp_off": [ - "es5Strict" - ], "compilation_level": "ADVANCED", "output_wrapper": "// OpenLayers 3. See http://ol3.js.org/\n(function(){%output%})();", "use_types_for_optimization": true, diff --git a/buildcfg/ol.json b/buildcfg/ol.json index 10a459b8c2..cb5cb4d117 100644 --- a/buildcfg/ol.json +++ b/buildcfg/ol.json @@ -29,6 +29,7 @@ "deprecated", "duplicateMessage", "es3", + "es5Strict", "externsValidation", "fileoverviewTags", "globalThis", @@ -54,9 +55,6 @@ "extra_annotation_name": [ "api", "observable" ], - "jscomp_off": [ - "es5Strict" - ], "compilation_level": "ADVANCED", "output_wrapper": "(function(){%output%})();", "use_types_for_optimization": true,