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:
@@ -298,7 +298,7 @@ def examples_star_json(name, match):
|
|||||||
'inherits': '../../buildcfg/base.json',
|
'inherits': '../../buildcfg/base.json',
|
||||||
'inputs': [
|
'inputs': [
|
||||||
'../examples/%(id)s.js' % match.groupdict(),
|
'../examples/%(id)s.js' % match.groupdict(),
|
||||||
'../externs/olx.js',
|
'../externs/olx.js', # compiled with src for @typedef's
|
||||||
],
|
],
|
||||||
'externs': [
|
'externs': [
|
||||||
'//jquery-1.7.js',
|
'//jquery-1.7.js',
|
||||||
|
|||||||
Reference in New Issue
Block a user