AnalyticalGraphicsInc/cesium — pull request #1296 by bagnell (2013-11-15 01:43:49+00:00)
Title: Pre-process Build

Adds RequireJS pragmas to conditionally include code that throws `DeveloperErrors` like:
```javascript
//>>includeStart('tag', condition);
if (/*condition*/) {
new DeveloperError('something went wrong.');
}
//>>includeEnd('tag');
```
`tag` can be any string describing the block, but the tags in each includeStart/includeEnd must be the same. `condition` can be any javascript that is evaluated at build time. `pragmas.debug` will be `true` for debug builds or `false` for release builds.

Adds two new build targets, `combineRelease` and `minifyRelease`, which are the same as `combine` and `minify` except they defined `pragmas.debug` to be false.

Adds pragma statements like above to every function in `Cartesian*`, `Matrix*` and `Quaternion` that will be removed when `pragmas.debug` is `false`.