-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
--mangle-props mangles the "pan" property of an AudioContext stereoPannerNode #2343
Comments
So just to be clear, you'd like the following change? --- a/tools/domprops.json
+++ b/tools/domprops.json
@@ -4395,6 +4395,7 @@
"paintRequests",
"paintType",
"palette",
+ "pan",
"panningModel",
"parent",
"parentElement", @alexlamsl Should the dom properties be updated with other recent browser changes? |
@kzc personally I wouldn't care if the whole Oxford Dictionary is loaded into Jokes aside, if anyone have a need for these changes please come up with a PR - a simple test case under |
@alexlamsl What I meant was to open |
Just taking a look at that tools/props.html file; I've got quite a few browsers here I can test it on:
However, due to the use of Object.getOwnPropertyNames and .foreach it doesn't run on many of these platforms. I'll see about making it ES3-safe. |
Yeah that isn't as trivial as it looks from my armchair ivory tower :) |
Failing that, I'll have a poke at that HTML on IE8 this weekend. |
You'd think so but there's complexities; for (var key in obj) doesn't work for arrays under IE8 for example. I might take another look at the weekend, I think I'm a bit drained tonight. Cheers for looking! |
fixes mishoo#2343 fixes mishoo#3037
Bug report or feature request?
Hello! I've found that the "pan" property of an AudioContext stereoPannerNode gets mangled by the --mangle-props argument.
ES5 or ES6+ input?
ES3
Uglify version (
uglifyjs -V
)uglify-js 3.1.3
JavaScript input
var context = new AudioContext()
context.createStereoPanner().pan.linearRampToValueAtTime(1, context.currentTime + 3)
The
uglifyjs
CLI command executed orminify()
options used.'var context = new AudioContext(); context.createStereoPanner().pan.linearRampToValueAtTime(1, context.currentTime + 3)' | uglifyjs --compress --mangle --mangle-props
JavaScript output or error produced.
var context=new AudioContext;context.createStereoPanner().t.linearRampToValueAtTime(1,context.currentTime+3);
Thanks!
The text was updated successfully, but these errors were encountered: