Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #3

Open
fmcdev opened this issue Dec 31, 2015 · 1 comment
Open

Error #3

fmcdev opened this issue Dec 31, 2015 · 1 comment

Comments

@fmcdev
Copy link

fmcdev commented Dec 31, 2015

As soon as running a custom element containing , this error raised up:

Uncaught SyntaxError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'undefined'. The type name is invalid.
window.Polymer @ polymer-micro.html:65
(anonymous function)@ disqus-comments.html:38
(anonymous function) @ disqus-comments.html:156

(function () {
  'use strict';
  Polymer({      --->row 38
    ....
    }
  });
})();     --->row 156

Also... seems your component is not upgraded to Polymer 1.0.0... infact you use tag "polymer-element" instead of "dom-module", despite in github is written a 1.0 update has been made.

Can you please fix/update the component?

Thanks very much, best regards.

UPDATE: bower install disqus-comments --save installs the old version!!! I replaced the installed files with the ones downloaded and extracted from the zip file and the component works very well!

@ozasadnyy
Copy link

@fmcdev You can also download specific version with Bower:

"disqus-comments": "divshot/disqus-comments#0915a95"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants