We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to Polymer/polymer#4754
The text was updated successfully, but these errors were encountered:
e.g. in polymer/test/unit/property-effects.html we've got code like:
Polymer.sanitizeDOMValue = sinon.spy(function(value) { return (value && value.toString().indexOf('javascript') >= 0) ? 'notallowed!' : value; });
currently that becomes:
import { sanitizeDOMValue as $sanitizeDOMValue } from '../../lib/utils/settings.js'; // ... $sanitizeDOMValue = sinon.spy(function(value) { return (value && value.toString().indexOf('javascript') >= 0) ? 'notallowed!' : value; });
which is illegal (as you can't write to a module export). Instead it should become:
import { sanitizeDOMValue as $sanitizeDOMValue, setSanitizeDOMValue as $setSanitizeDOMValue } from '../../lib/utils/settings.js'; // ... $setSanitizeDOMValue(sinon.spy(function(value) { return (value && value.toString().indexOf('javascript') >= 0) ? 'notallowed!' : value; }));
Sorry, something went wrong.
Fixed!
No branches or pull requests
Related to Polymer/polymer#4754
The text was updated successfully, but these errors were encountered: