Updated Developer Guide (markdown)
@@ -221,9 +221,7 @@ standalone lib (which has implications of the symbols and properties we
|
||||
export), with Plovr in ADVANCED mode, and with Plovr in RAW (debug) mode.
|
||||
|
||||
Running the examples with Plovr makes it mandatory to declare dependencies with
|
||||
`goog.require` statements. And for the examples to also run with the standalone
|
||||
lib we [export](https://github.com/openlayers/ol3/blob/master/src/goog.exports)
|
||||
`goog.require` as the null function.
|
||||
`goog.require` statements.
|
||||
|
||||
Exporting `goog.require` has a side effect: it adds the `goog` namespace object
|
||||
to the global object. This is why we can, for example, have `if (goog.DEBUG)`
|
||||
|
||||
Reference in New Issue
Block a user