대부분의 축소 소프트웨어에는 이러한 정확한 목적으로 현장에 의견을 남길 수있는 방법이 있습니다.
예를 들어, YUI Compressor 문서에서 :
+ C-style comments starting with /*! are preserved. This is useful with
comments containing copyright/license information. For example:
/*!
* TERMS OF USE - EASING EQUATIONS
* Open source under the BSD License.
* Copyright 2001 Robert Penner All rights reserved.
*/
becomes:
/*
* TERMS OF USE - EASING EQUATIONS
* Open source under the BSD License.
* Copyright 2001 Robert Penner All rights reserved.
*/
Google Closure Compiler 는 태그 @license
또는 @preserve
태그 가 포함 된 JavaDoc 블록을 유지 합니다.
로 @license
:
/*
* TERMS OF USE - EASING EQUATIONS
* @license Open source under the BSD License.
* Copyright 2001 Robert Penner All rights reserved.
*/
becomes:
/*
TERMS OF USE - EASING EQUATIONS
Open source under the BSD License.
Copyright 2001 Robert Penner All rights reserved.
*/
로 @preserve
:
/* @preserve
* TERMS OF USE - EASING EQUATIONS
* Open source under the BSD License.
* Copyright 2001 Robert Penner All rights reserved.
*/
becomes:
/*
TERMS OF USE - EASING EQUATIONS
Open source under the BSD License.
Copyright 2001 Robert Penner All rights reserved.
*/