[OpenLayers-Dev] OL build: Why put in the code compressed code
deprecated?
Xavier Mamano (jorix)
xavier.mamano at gmail.com
Sun Sep 25 07:38:00 EDT 2011
Hi,
In OL exists code labeled as *Deprecated* but it is not possible to
exclude deprecated code in compressed code, examples: "Util.js",
"BaseTypes/Class.js", "BaseTypes/Element.js" ...
If these source files are split into two, for example "Util.js" and
"Util-deprecate.js" (with "@requires OpenLayers/Util.js"), so could easily
create configuration files to exclude deprecated code.
NOTE: In the far future the advanced optimization of "Closure Compiler"
can also help, but not in the medium term.
Xavier Mamano
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/OL-build-Why-put-in-the-code-compressed-code-deprecated-tp6828967p6828967.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list