From b80c6d5c61711fff5df17553fad30cd04281b8c8 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Thu, 10 Apr 2014 14:40:51 +0200 Subject: [PATCH] Replace typedefs with externs Since the compiler leaves externs untouched and learns the used properties from object literals, this replaces the otherwise required typedefs just fine. --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 905227d772..de06719581 100755 --- a/build.py +++ b/build.py @@ -297,8 +297,7 @@ def examples_star_json(name, match): 'id': match.group('id'), 'inherits': '../../buildcfg/base.json', 'inputs': [ - '../examples/%(id)s.js' % match.groupdict(), - '../externs/olx.js', # compiled with src for @typedef's + '../examples/%(id)s.js' % match.groupdict() ], 'externs': [ '//jquery-1.7.js', @@ -308,6 +307,7 @@ def examples_star_json(name, match): '../externs/example.js', '../externs/geojson.js', '../externs/oli.js', + '../externs/olx.js', '../externs/proj4js.js', '../externs/tilejson.js', '../externs/topojson.js',