This is needed because the current version of closure compiler we use does not include externs for valueAsNumber which we now use in ol.dom.Input. So this backports patch from issue: https://code.google.com/p/closure-compiler/issues/detail?id=1060 This patch should be reverted when the next closure compiler release is out with valueAsNumber externs.
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
{
|
|
|
|
// If ambiguate-properties and disambiguate-properties are set to true
|
|
// we get function names like "ol_control_Control_prototype$setMap" in
|
|
// the compiled code when using the SIMPLE compilation. It looks like
|
|
// "ambiguate-properties" and "disambiguate-properties" are only
|
|
// appropriate for ADVANCED compilation.
|
|
|
|
"ambiguate-properties": false,
|
|
|
|
"disambiguate-properties": false,
|
|
|
|
"id": "ol-simple",
|
|
|
|
"externs": [
|
|
"//json.js",
|
|
"../externs/bingmaps.js",
|
|
"../externs/geojson.js",
|
|
"../externs/topojson.js",
|
|
"../externs/oli.js",
|
|
"../externs/proj4js.js",
|
|
"../externs/tilejson.js",
|
|
"../externs/html5.js"
|
|
],
|
|
|
|
"inherits": "ol.json",
|
|
|
|
"inputs": [
|
|
"../build/src/internal/src/requireall.js",
|
|
"../build/src/internal/src/types.js"
|
|
],
|
|
|
|
"mode": "SIMPLE",
|
|
|
|
// Note: we can't have a (function(){%output%})() output wrapper with
|
|
// WHITESPACE and SIMPLE modes. See this link for explanations:
|
|
// https://groups.google.com/forum/#!topic/plovr/gQyZEa2NpsU
|
|
"output-wrapper": "%output%"
|
|
}
|