Re: dom.js:648: ERROR - Property type never defined on attributes

92 views
Skip to first unread message

Peter Pallos

unread,
Nov 12, 2012, 3:43:58 AM11/12/12
to closure-lib...@googlegroups.com
The compiler warning was fixed at http://code.google.com/p/closure-library/source/detail?r=2115


On Sun, Nov 11, 2012 at 8:25 AM, Shuai Lin <linshu...@gmail.com> wrote:
Hello guys,
  
When I compile my code with closure compiler, I get the following error message":


../closure-library/closure/goog/dom/dom.js:648: ERROR - Property type never defined on attributes
      delete attributes.type;

I am using closure-library-20120710-r2029.zip with the latest compiler.

This is the rule in my Makefile:

appdisk-compiled.js: $(src) $(externs) Makefile
python ../closure-library/closure/bin/calcdeps.py \
--input appdisk/appdisk.js \
--output_file $@ \
--path ../closure-library \
--path appdisk \
--compiler_jar ../closure-compiler/compiler.jar \
--output_mode compiled \
--compiler_flags '--externs=externs.js' \
--compiler_flags '--output_wrapper=(function(){%output%})();' \
--compiler_flags '--compilation_level=ADVANCED_OPTIMIZATIONS' \
--compiler_flags '--jscomp_error=checkTypes' \
--compiler_flags '--warning_level=VERBOSE' \
--compiler_flags '--js=../closure-library/closure/goog/deps.js'

Anything I can do to get rid of this? 

Shuai Lin

unread,
Nov 12, 2012, 4:10:17 AM11/12/12
to closure-lib...@googlegroups.com
Thanks, I'll svn co the latest trunk.
Reply all
Reply to author
Forward
0 new messages