Marc Jansen
d3de8c38b5
Use fs-extra as fs
2016-03-31 10:30:58 +02:00
Tim Schaub
23f3e21ba4
Unused variables
2016-01-11 18:56:05 -08:00
Tim Schaub
c31ae25892
Replace non-breaking space (U+00A0) with regular space (U+0020)
2015-04-22 10:41:10 -06:00
Stefan Weil
829569c6b5
Fix typo in documentation of function getInfo
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-02-12 17:53:53 +01:00
Andreas Hocevar
66234a73ba
Use goog.* types in externs
...
To have an externs file as accurate as possible, we also need to use
types that are provided by the Closure library.
2014-10-06 14:20:59 +02:00
Éric Lemoine
4643c71e75
Treat unknown opt types as Object in ol externs
2014-09-29 17:58:04 +02:00
Andreas Hocevar
f724cb65bc
Add base classes to info.json and generated externs
...
This ensures that the inheritance chain is intact, even if the base
class is not exportable.
2014-08-28 19:02:49 +02:00
Andreas Hocevar
a0c76aa5ee
Do not extend goog.* types
2014-08-28 15:11:09 +02:00
Andreas Hocevar
80ea1772e2
Add @extends annotations to generated externs
2014-08-28 15:11:09 +02:00
Andreas Hocevar
d2eceab25e
Merge pull request #2643 from ahocevar/interface-externs
...
Handle interfaces in the generate-externs task
2014-08-28 13:22:15 +02:00
Andreas Hocevar
663fef3dfd
Support nullable params and returns in generated externs
2014-08-27 18:18:49 +02:00
Andreas Hocevar
e560f529c6
Handle interfaces in the generate-externs task
2014-08-27 16:13:12 +02:00
Andreas Hocevar
e9457461af
Process typedefs last
...
Becasue typedefs sometimes use namespaces that are actually
constructors, we need to process typedefs after symbols to avoid
duplicate entries for such namespace types.
2014-08-26 22:21:25 +02:00
Tim Schaub
30bfa1bf19
Remove additional lint from new tasks
2014-08-19 12:15:11 -06:00
Andreas Hocevar
286db65d34
Use {*} instead of {goog.*} types in externs file
2014-08-09 09:05:54 +02:00
Andreas Hocevar
e294ca1868
Keep track of all symbols
...
This avoids that we add parent namespaces of symbols that were already
added because they have their own definition in the externs.
2014-08-09 08:53:25 +02:00
Andreas Hocevar
63abbe2597
Prepend 'var ' for root symbols
2014-08-09 08:53:24 +02:00
Andreas Hocevar
e8eebd8846
Allow to provide externs for inclusion in info.json
2014-08-09 08:53:24 +02:00
Andreas Hocevar
53e12e7e47
Add typedefs for externs/olx.js contents
2014-08-04 20:37:46 +02:00
Andreas Hocevar
a40170feb7
Include typedefs in externs
2014-08-04 20:37:45 +02:00
Andreas Hocevar
46b74cedf8
Only add object type definition when there is no constructor
2014-08-04 20:37:44 +02:00
Andreas Hocevar
66bde546c0
Avoid duplicate constructors
2014-08-04 20:37:44 +02:00
Andreas Hocevar
1e79acac20
Build externs file from info.json
...
This change adds all information that is needed to generate the externs
file to build/info.json, so tasks/generate-externs.js no longer needs
to spawn JSDoc.
2014-08-04 20:37:44 +02:00
Andreas Hocevar
4cb60feb40
Add generate-externs task to create build/ol-externs.js
2014-08-04 20:37:43 +02:00