-
Notifications
You must be signed in to change notification settings - Fork 111
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
Faces.js and Maven compressor #5124
Conversation
- removed yuicompressor (dead project) + added closure compiler faces-uncompressed.js: - build with ECMASCRIPT5_STRICT profile of Google Closure - use strict - Removed IE-5-6-7-8-9-10 support - Removed FrameTransport - Use FormData for File upload - removed IE hacks and memory hacks - const and let instead of var - many minor optimization
This looks great but it looks like you need to sign the legal agreement and then watch this video how to fix this PR with your signature! https://www.youtube.com/watch?v=YdJyJpT7rrs |
I've created an Eclispe account wired with this github account ... I need to follow the instructions on the video... ;) |
// if( isIE() && (source.getAttribute(propertyName) === source[propertyName]) ){ | ||
// attributeName = propertyName; | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like extra comment here can be removed?
// target[propertyName] = ''; | ||
// } | ||
// target.removeAttribute(attributeName); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here?
// doc.loadXML(docStr); | ||
// } else { | ||
// throw new Error("You don't seem to be running a supported browser"); | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code.
// if (formElement.name && (formElement.name.indexOf('jakarta.faces.encodedURL') >= 0)) { | ||
// return formElement; | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code.
// if (formElement.name && (formElement.name.indexOf(hiddenStateFieldName) >= 0)) { | ||
// return formElement; | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code
// isInTable = true; | ||
// break; | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code.
@melloware I was not sure if it was better to remove everything or not... it's a 3kLOC single file full of hacks..... now that you told me to remove everything, tomorrow I will continue to work on it 😉😉 |
To me I hate leaving dead blocks of code. That is what Git history is for! |
As promised a long time ago, this is my contribution to Mojarra:
This is a first release which can be used as a base for further code cleanups and optimizations.
Maven
https://github.com/blutorange/closure-compiler-maven-plugin
Faces JS
#5045
#5040
sorry if I made some mistake with PR or similar... I'm not used to contribute to open source github projects