I found a problem with CKPackager but don't see a proper component on dev.fckeditor.net so I'm going to post the bug here in hopes that someone will be able to pick it up and fix it, or create a bug in the appropriate place. Try to package this js:
var testFunc = function(tempNode) {
var fs = tempNode.style.fontSize;
fs = parseInt(fs); //.substr(0,fs.length-2); // remove px
fs = Math.round( fs / 1.3333 ) + "pt"; // convert to points
var bs = fs * 2;
return bs
}
It fails to detect the line comment in this line:
fs = Math.round( fs / 1.3333 ) + "pt"; // convert to points
Also, as a feature request, it would be a huge help if the packager could detect where lines are not terminated with a semicolon. Thanks!
var testFunc = function(tempNode) {
var fs = tempNode.style.fontSize;
fs = parseInt(fs); //.substr(0,fs.length-2); // remove px
fs = Math.round( fs / 1.3333 ) + "pt"; // convert to points
var bs = fs * 2;
return bs
}
It fails to detect the line comment in this line:
fs = Math.round( fs / 1.3333 ) + "pt"; // convert to points
Also, as a feature request, it would be a huge help if the packager could detect where lines are not terminated with a semicolon. Thanks!