From d65ce7e63537daa800490b86d8ae419b060a1088 Mon Sep 17 00:00:00 2001 From: elemoine Date: Sun, 10 Mar 2013 13:19:33 -0700 Subject: [PATCH] Updated Exports Files (markdown) --- Exports-Files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exports-Files.md b/Exports-Files.md index 8befac0..8788754 100644 --- a/Exports-Files.md +++ b/Exports-Files.md @@ -6,7 +6,7 @@ Alongside js files the *src* dir includes "exports files" (e.g. `src/ol/map.expo ``` -This declares that the `ol.Map` symbol, and that the `ol.Map.prototype.addLayer` property, should be exported, i.e. made available to lib users. +This declares that the `ol.Map` symbol, and that the `ol.Map.prototype.addLayer` property, should be *exported*, i.e. made available to lib users. Exports files are processed by the `bin/generate-exports` script, using its `--exports` switch. This script receives a list of exports files as its input, and outputs `@exportSymbol` and `@exportProperty` statements. The `build.py` script places the output of the `generate-exports --exports` command in the `build/src/external/src/exports.js` file. This js file is then used as an input file for the `ol.js` build (see `build/ol.json`).