linted jpegmeta - commas cause IE errors. Not that this library is useful on IE,...
authorNeil Kandalgaonkar <neilk@users.mediawiki.org>
Fri, 24 Jun 2011 01:08:24 +0000 (01:08 +0000)
committerNeil Kandalgaonkar <neilk@users.mediawiki.org>
Fri, 24 Jun 2011 01:08:24 +0000 (01:08 +0000)
resources/mediawiki.libs/mediawiki.libs.jpegmeta.js

index 3ce0c7f..af49889 100644 (file)
        /* Rational number methods */
        JpegMeta.Rational.prototype.toString = function toString() {
            if (this.num === 0) {
-               return "" + this.num
+               return "" + this.num;
            }
            if (this.den === 1) {
                return "" + this.num;
            9 : ["SLONG", 4],
            10 : ["SRATIONAL", 8],
            11 : ["FLOAT", 4],
-           12 : ["DOUBLE", 8],
+           12 : ["DOUBLE", 8]
        };
        
        this.JpegMeta.JpegFile.prototype._tifftags = {
                   {1 : "Normal", 2 : "Reverse?", 
                    3 : "Upside-down", 4 : "Upside-down Reverse",
                    5 : "90 degree CW", 6 : "90 degree CW reverse",
-                   7 : "90 degree CCW", 8 : "90 degree CCW reverse",}],
+                   7 : "90 degree CCW", 8 : "90 degree CCW reverse"}],
            277 : ["Number of components", "SamplesPerPixel"],
            284 : ["Image data arrangement", "PlanarConfiguration",
                   {1 : "chunky format", 2 : "planar format"}],
            33432 : ["Copyright holder", "Copyright"],
            
            34665 : ["Exif tag", "ExifIfdPointer"],
-           34853 : ["GPS tag", "GPSInfoIfdPointer"],
+           34853 : ["GPS tag", "GPSInfoIfdPointer"]
        };
        
        this.JpegMeta.JpegFile.prototype._exiftags = {
            /* H. Other Tags */
            42016 : ["Unique image ID", "ImageUniqueID"],
            
-           40965 : ["Interoperability tag", "InteroperabilityIFDPointer"],
+           40965 : ["Interoperability tag", "InteroperabilityIFDPointer"]
        };
        
        this.JpegMeta.JpegFile.prototype._gpstags = {
            27 : ["Name of GPS processing method", "GPSProcessingMethod"],
            28 : ["Name of GPS area", "GPSAreaInformation"],
            29 : ["GPS Date", "GPSDateStamp"],
-           30 : ["GPS differential correction", "GPSDifferential"],
+           30 : ["GPS differential correction", "GPSDifferential"]
        };
 
        this.JpegMeta.JpegFile.prototype._markers = {
            0xfe: ["COM", null], /* Comment */
            
            /* Reserved markers */
-           0x01: ["JPG13", null], /* For temporary private use in arithmetic coding */
+           0x01: ["JPG13", null] /* For temporary private use in arithmetic coding */
            /* 02 -> bf are reserverd */
        };
 
                return new JpegMeta.JpegFile( fileReaderResult, fileName );
        };
 
-} )( jQuery );
\ No newline at end of file
+} )( jQuery );