javascript warning: function does not always return a vlaue

This commit is contained in:
Sebastian Mendel
2005-11-18 13:28:29 +00:00
parent 2ae5e5f87d
commit 3115a8de77
2 changed files with 6 additions and 2 deletions

View File

@@ -1063,8 +1063,8 @@ function dragPlace(no, axis, value) {
}
/**
* Returns paper sizes for a given format
*/
* Returns paper sizes for a given format
*/
function pdfPaperSize(format, axis) {
switch (format.toUpperCase()) {
case '4A0':
@@ -1215,4 +1215,6 @@ function pdfPaperSize(format, axis) {
if (axis == 'x') return 612.00; else return 936.00;
break;
} // end switch
return 0;
}