don't use errors-pending-to-fix.js

This commit is contained in:
Xavier Mamano
2011-12-03 18:32:26 +01:00
parent 5aba9061b2
commit 9ed75efad1
2 changed files with 0 additions and 23 deletions

View File

@@ -1,22 +0,0 @@
// ********************************************
// This source file serves *ONLY* to avoid some compilation errors when the
// compiler uses the flag:
// --jscomp_error undefinedVars
//
// In this source are declared all undefined variables pending to fix. This
// temporarily prevents undefined variable error for these names.
//
// NOTE: The compiler does not include externs files like this in the
// compilation result.
// ********************************************
/* Ticket: #2971 */
// ../lib/OpenLayers/Layer/KaMapCache.js:91: ERROR - variable DEFAULT_FORMAT is undefined
var DEFAULT_FORMAT;
// ../lib/OpenLayers/Layer/KaMapCache.js:121: ERROR - variable paramsString is undefined
var paramsString;
/* Ticket: #3593
see: http://code.google.com/p/xmlhttprequest/issues/detail?id=34 */
// ../lib/OpenLayers/Request/XMLHttpRequest.js:252: ERROR - variable oRequest is undefined
var oRequest;

View File

@@ -16,7 +16,6 @@ def minimize(code):
os.system(("java -jar %s --js %s --js_output_file %s" +
" --externs closure-compiler/Externs.js" +
" --externs closure-compiler/errors-pending-to-fix.js" +
" --jscomp_warning checkVars" +
" --jscomp_error checkRegExp" +
" --jscomp_error undefinedVars") % (path, ntf.name, ntf2.name))