Issue 26 in mobile-bookmark-bubble: not working with google closure compiler

24 views
Skip to first unread message

mobile-book...@googlecode.com

unread,
Mar 4, 2012, 7:50:44 AM3/4/12
to mobile-book...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 26 by acorn...@gmail.com: not working with google closure compiler
http://code.google.com/p/mobile-bookmark-bubble/issues/detail?id=26

It would be nice if this library would be compatible with google's own
closure compiler.

When trying to use advanced compilation closure spits the following error:

JSC_TYPE_MISMATCH: assignment to property boundScrollHandler_ of
google.bookmarkbubble.Bubble found : (Function|null) required: function
(): ? at line 65 character 0
this.boundScrollHandler_ = google.bind(this.setPosition, this);
^
JSC_INEXISTENT_PROPERTY: Property standalone never defined on
Window.prototype.navigator at line 369 character 9
return !!window.navigator.standalone;

More over, since the library doesn't declare anything as external by
default, the whole code will be optimized away (assuming those warnings are
removed).

Reply all
Reply to author
Forward
0 new messages