From 9685c87bc9625e8a243fed5d401b64361d4620f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 28 Mar 2013 13:55:58 +0100 Subject: [PATCH] Create ol.inherits alias, and export it --- src/ol/ol.exports | 1 + src/ol/ol.js | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 src/ol/ol.exports create mode 100644 src/ol/ol.js 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;