Create ol.inherits alias, and export it
This commit is contained in:
1
src/ol/ol.exports
Normal file
1
src/ol/ol.exports
Normal file
@@ -0,0 +1 @@
|
||||
@exportSymbol ol.inherits
|
||||
14
src/ol/ol.js
Normal file
14
src/ol/ol.js
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user