Simplify custom-builds tutorial

Remove, the disturbing goog.dom.ASSUME_STANDARDS_MODE define.
Remove jscomp_off stuff.
This commit is contained in:
Guillaume Beraudo
2016-03-10 16:03:03 +01:00
parent bf30e86b84
commit fedf477f29

View File

@@ -60,12 +60,8 @@ Creating a custom build requires writing a build configuration file. The format
"externs/topojson.js" "externs/topojson.js"
], ],
"define": [ "define": [
"goog.dom.ASSUME_STANDARDS_MODE=true",
"goog.DEBUG=false" "goog.DEBUG=false"
], ],
"jscomp_off": [
"unknownDefines"
],
"extra_annotation_name": [ "extra_annotation_name": [
"api", "observable" "api", "observable"
], ],
@@ -215,7 +211,6 @@ Now let's try a more complicated example: [`heatmaps-earthquakes`](http://openla
"ol.ENABLE_WEBGL=false", "ol.ENABLE_WEBGL=false",
"ol.ENABLE_PROJ4JS=false", "ol.ENABLE_PROJ4JS=false",
"ol.ENABLE_IMAGE=false", "ol.ENABLE_IMAGE=false",
"goog.dom.ASSUME_STANDARDS_MODE=true",
"goog.DEBUG=false" "goog.DEBUG=false"
], ],
"compilation_level": "ADVANCED", "compilation_level": "ADVANCED",