This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2165,7 +2165,7 @@ BitField.prototype.encode = function(value) {
2165
2165
*/
2166
2166
function Boolean ( container , property ) {
2167
2167
BitField . call ( this , container , 1 , property ) ;
2168
- } ;
2168
+ }
2169
2169
util . inherits ( Boolean , BitField ) ;
2170
2170
/** Override {@link BitField#decode|decode} for {@link Boolean|Boolean}.
2171
2171
*
@@ -2180,7 +2180,7 @@ Boolean.prototype.encode = function(value) {
2180
2180
value = + value ;
2181
2181
}
2182
2182
return BitField . prototype . encode . call ( this , value ) ;
2183
- }
2183
+ } ;
2184
2184
2185
2185
/**
2186
2186
* Contain a fixed-length block of arbitrary data, represented as a
Original file line number Diff line number Diff line change @@ -1864,7 +1864,7 @@ suite('Layout', function() {
1864
1864
assert . deepEqual ( po , p ) ;
1865
1865
} ) ;
1866
1866
test ( 'bits' , function ( ) {
1867
- function Header ( ) { } ;
1867
+ function Header ( ) { }
1868
1868
Header . prototype . power = function ( ) {
1869
1869
return [ 'off' , 'lo' , 'med' , 'hi' ] [ this . pwr ] ;
1870
1870
} ;
@@ -1883,25 +1883,25 @@ suite('Layout', function() {
1883
1883
assert . equal ( b . compare ( nb ) , 0 ) ;
1884
1884
} ) ;
1885
1885
test ( 'union' , function ( ) {
1886
- function Union ( ) { } ;
1886
+ function Union ( ) { }
1887
1887
lo . bindConstructorLayout ( Union , lo . union ( lo . u8 ( 'var' ) , lo . blob ( 8 , 'unk' ) ) ) ;
1888
1888
function VFloat ( v ) {
1889
1889
this . f32 = v ;
1890
- } ;
1890
+ }
1891
1891
util . inherits ( VFloat , Union ) ;
1892
1892
lo . bindConstructorLayout ( VFloat ,
1893
1893
Union . layout_ . addVariant ( 1 , lo . f32 ( ) , 'f32' ) ) ;
1894
1894
function VCStr ( v ) {
1895
1895
this . text = v ;
1896
- } ;
1896
+ }
1897
1897
util . inherits ( VCStr , Union ) ;
1898
1898
lo . bindConstructorLayout ( VCStr ,
1899
1899
Union . layout_ . addVariant ( 2 , lo . cstr ( ) , 'text' ) ) ;
1900
1900
function Struct ( u32 , u16 , s16 ) {
1901
1901
this . u32 = u32 ;
1902
1902
this . u16 = u16 ;
1903
1903
this . s16 = s16 ;
1904
- } ;
1904
+ }
1905
1905
function VStruct ( v ) {
1906
1906
this . struct = v ;
1907
1907
}
You can’t perform that action at this time.
0 commit comments