Index: trunk/phase3/js2/js2stopgap.js |
— | — | @@ -610,7 +610,7 @@ |
611 | 611 | }; |
612 | 612 | |
613 | 613 | // exclude the following css properties to add px |
614 | | -var exclude = / z - ? index | font - ? weight | opacity | zoom | line - ? height / i, |
| 614 | +var exclude = / z - ? index | font - ? weight | opacity | zoom | line - ? height /i, |
615 | 615 | // cache defaultView |
616 | 616 | defaultView = document.defaultView || { }, |
617 | 617 | toString = Object.prototype.toString; |
— | — | @@ -791,7 +791,7 @@ |
792 | 792 | } |
793 | 793 | |
794 | 794 | // Make sure we're using the right name for getting the float value |
795 | | - if ( name.match( / float / i ) ) |
| 795 | + if ( name.match( / float /i ) ) |
796 | 796 | name = styleFloat; |
797 | 797 | |
798 | 798 | if ( !force && style && style[ name ] ) |
— | — | @@ -800,10 +800,10 @@ |
801 | 801 | else if ( defaultView.getComputedStyle ) { |
802 | 802 | |
803 | 803 | // Only "float" is needed here |
804 | | - if ( name.match( / float / i ) ) |
| 804 | + if ( name.match( / float /i ) ) |
805 | 805 | name = "float"; |
806 | 806 | |
807 | | - name = name.replace( / ( [A - Z] ) / g, "-$1" ).toLowerCase(); |
| 807 | + name = name.replace( / ( [A - Z] ) /g, "-$1" ).toLowerCase(); |
808 | 808 | |
809 | 809 | var computedStyle = defaultView.getComputedStyle( elem, null ); |
810 | 810 | |
— | — | @@ -9506,4 +9506,4 @@ |
9507 | 9507 | } |
9508 | 9508 | |
9509 | 9509 | // Define a dummy mvJsLoader.doLoad() function |
9510 | | -mvJsLoader = { doLoad: function( deps, callback ) { callback(); } }; |
\ No newline at end of file |
| 9510 | +mvJsLoader = { doLoad: function( deps, callback ) { callback(); } }; |