Add explanation on using externs as input
This commit is contained in:
@@ -258,6 +258,10 @@ def examples_star_json(name, match):
|
|||||||
"examples/%(id)s.js" % match.groupdict()],
|
"examples/%(id)s.js" % match.groupdict()],
|
||||||
"compile": {
|
"compile": {
|
||||||
"js": [
|
"js": [
|
||||||
|
# When compling the examples, the OpenLayers 'externs' can be used
|
||||||
|
# as inputs directly. By passing them directly to the compiler,
|
||||||
|
# they are handled like source code (as manage_closure_dependencies
|
||||||
|
# prevents them from being ignored by the compiler).
|
||||||
"externs/olx.js",
|
"externs/olx.js",
|
||||||
"externs/oli.js",
|
"externs/oli.js",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user