Updated Developer Guide (markdown)
+1
-3
@@ -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.
|
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
|
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
|
`goog.require` statements.
|
||||||
lib we [export](https://github.com/openlayers/ol3/blob/master/src/goog.exports)
|
|
||||||
`goog.require` as the null function.
|
|
||||||
|
|
||||||
Exporting `goog.require` has a side effect: it adds the `goog` namespace object
|
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)`
|
to the global object. This is why we can, for example, have `if (goog.DEBUG)`
|
||||||
|
|||||||
Reference in New Issue
Block a user