Hi,

I have a GWT Polymer Elements project that compiles and run ok with GWT 
2.8.0-beta1.

When switching to 2.8.0-rc1 or 2.8.0-rc2, it compiles ok but doesn't run 
due to the follow runtime error:

Uncaught TypeError: ok_0_g$.call_1_g$ is not a function    Polymer.java:159

The Polymer.java:159 line is underlined in the code below:

    private static native void whenPolymerLoaded(Function ok)
    /*-{
        function done() {
          // Set our static reference to Base
          @com.vaadin.polymer.Polymer::Polymer = $wnd.Polymer;
          @com.vaadin.polymer.Polymer::Base = $wnd.Polymer.Base;
          // Polymer dynamic loaded does not remove unresolved
          $doc.body.removeAttribute('unresolved');
          //
          *[email protected]::call(*)()*;
        }
        if (!$wnd.Polymer) {
            var l = $doc.createElement('link');
            l.rel = 'import';
            l.href = 
@com.vaadin.polymer.Polymer::absoluteHref(*)('polymer');
            l.onload = done;
            $doc.head.appendChild(l);
        } else {
           done();
        }
    }-*/;

I don't know if this is a GWT issue or a GWT Polymer Elements issue.
Any idea?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to