diff --git a/src/ol/ol.exports b/src/ol/ol.exports new file mode 100644 index 0000000000..e6371ba44b --- /dev/null +++ b/src/ol/ol.exports @@ -0,0 +1 @@ +@exportSymbol ol.inherits diff --git a/src/ol/ol.js b/src/ol/ol.js new file mode 100644 index 0000000000..d118ba330f --- /dev/null +++ b/src/ol/ol.js @@ -0,0 +1,14 @@ +goog.provide('ol'); + + +/** + * ol.inherits is an alias to the goog.inherits function. It is exported + * for use in non-compiled application code. See ol.exports. + * + * FIXME: We use a new line to fake the linter. Without the new line the + * linter complains with: + * + * "Missing newline between constructor and goog.inherits" + */ +ol.inherits = + goog.inherits;