dustjs icon indicating copy to clipboard operation
dustjs copied to clipboard

The examples on dustjs.com do not work

Open brianmhunt opened this issue 7 years ago • 13 comments

In the developer console:

Uncaught DOMException: Failed to execute 'createShadowRoot' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree.
    at HTMLElement.shadowFromTemplate (http://www.dustjs.com/bower_components/polymer/polymer.js:10033:25)
    at HTMLElement.parseDeclaration (http://www.dustjs.com/bower_components/polymer/polymer.js:10005:25)
    at HTMLElement.parseDeclarations (http://www.dustjs.com/bower_components/polymer/polymer.js:9986:28)
    at HTMLElement.makeElementReady (http://www.dustjs.com/bower_components/polymer/polymer.js:9886:12)
    at HTMLElement.createdCallback (http://www.dustjs.com/bower_components/polymer/polymer.js:9855:14)
    at HTMLElement.registerPrototype (http://www.dustjs.com/bower_components/polymer/polymer.js:11299:28)
    at HTMLElement.register (http://www.dustjs.com/bower_components/polymer/polymer.js:11127:12)
    at HTMLElement._register (http://www.dustjs.com/bower_components/polymer/polymer.js:11635:12)
    at Object.flush (http://www.dustjs.com/bower_components/polymer/polymer.js:11471:28)
    at Object.ready (http://www.dustjs.com/bower_components/polymer/polymer.js:11486:12)

brianmhunt avatar Feb 12 '18 13:02 brianmhunt

I also see this problem in Chrome. It works in Firefox.

jbaicoianu avatar Feb 18 '18 23:02 jbaicoianu

On Internet Explorer Its possible to see text on black textArea, on chrome Its not possible see anything. Lost several minutes trying typing things to see how it works and bahn!!!!

LoveraSantiago avatar Feb 28 '18 18:02 LoveraSantiago

Also confirmed to work in Firefox. Chrome 👎

nricardo avatar Mar 19 '18 15:03 nricardo

In Chrome 45, the ability to have multiple shadow roots was deprecated. (see https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot#Browser_compatibility)

CExCDavies avatar Mar 19 '18 16:03 CExCDavies

+1 for this issue on chrome.

ggiak avatar Mar 24 '18 19:03 ggiak

+2 for this issue on chrome.

treyhuffine avatar Apr 16 '18 14:04 treyhuffine

I spoke with someone who works at LinkedIn, unfortunately he said that internally they consider dustjs to be deprecated, and likely don't have anyone assigned to it. Shame, I've been using dustjs for 6 years and it's worked great since then, still does, but seems like another victim of the framework popularity contest :(

jbaicoianu avatar Apr 16 '18 15:04 jbaicoianu

@jbaicoianu Thanks for sharing that; this information will undoubted help others who happen across this.

brianmhunt avatar Apr 16 '18 15:04 brianmhunt

Thanks by important information, maybe i will consider markojs how my Future template mechanism.

Em seg, 16 de abr de 2018 12:32, Brian M Hunt [email protected] escreveu:

@jbaicoianu https://github.com/jbaicoianu Thanks for sharing that; this information will undoubted help others who happen across this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/linkedin/dustjs/issues/780#issuecomment-381646956, or mute the thread https://github.com/notifications/unsubscribe-auth/AHRYqgj77M8o4R6Mu68ZZhDo1MPn53b8ks5tpLmBgaJpZM4SCLuu .

gilsondelrei avatar Apr 16 '18 15:04 gilsondelrei

For those still on this - whilst it still needs a maintainer, it also still needs this issue and possibly others fixing.

danwdart avatar Apr 17 '18 12:04 danwdart

👍 Still seeing this on Chrome.

kenjim83 avatar Jul 23 '18 18:07 kenjim83

+1 on chrome

daniel0128 avatar Aug 17 '18 16:08 daniel0128

Still seeing the issue on Chrome.

riteshpanchal avatar Aug 13 '19 20:08 riteshpanchal