Adding comment about using externs/olx.js as a source file

The externs/olx.js script includes @typedef annotations for objects that are used in the library.  When compiling the examples together with the library, we need these @typedef annotations.  In this same case, we don't need the object property names to be treated as externs (they can be safely renamed).
This commit is contained in:
Tim Schaub
2014-04-08 20:11:49 -06:00
parent 04a33220a8
commit 3c92b693c5

View File

@@ -298,7 +298,7 @@ def examples_star_json(name, match):
'inherits': '../../buildcfg/base.json',
'inputs': [
'../examples/%(id)s.js' % match.groupdict(),
'../externs/olx.js',
'../externs/olx.js', # compiled with src for @typedef's
],
'externs': [
'//jquery-1.7.js',