Create ol.inherits alias, and export it

This commit is contained in:
Éric Lemoine
2013-03-28 13:55:58 +01:00
parent 7a71f107cb
commit 9685c87bc9
2 changed files with 15 additions and 0 deletions

1
src/ol/ol.exports Normal file
View File

@@ -0,0 +1 @@
@exportSymbol ol.inherits

14
src/ol/ol.js Normal file
View 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;