TypeError in Firefox when loading CCM
Closed this issue · 2 comments
minhnh commented
akless commented
In which situation does the error occur exactly? When loading a HTML file via ccm.load? If that's the case, it's because HTML Import in Firefox does not work. The HTML import is already obsolete anyway and will soon no longer be supported by ccm.
An HTML file can also be loaded via ccm.load like this:
[ 'ccm.load', { url: 'path/to/my.html', type: 'data' } ]
The result is then the contents of the HTML file as a string.
minhnh commented
Ok, then I guess I should avoid loading HTML file like this from now on. Closing issue.