Add explanation on using externs as input

This commit is contained in:
Erik Timmers
2014-10-11 10:35:20 +02:00
parent d6afca38c2
commit 6cf5f204c5

View File

@@ -258,6 +258,10 @@ def examples_star_json(name, match):
"examples/%(id)s.js" % match.groupdict()],
"compile": {
"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/oli.js",
],