Enable the no-var
linting rule in src/core/ccitt_stream.js
This commit is contained in:
parent
0897dddbbe
commit
e051d4d029
@ -12,13 +12,12 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
/* eslint-disable no-var */
|
|
||||||
|
|
||||||
import { Dict, isDict } from "./primitives.js";
|
import { Dict, isDict } from "./primitives.js";
|
||||||
import { CCITTFaxDecoder } from "./ccitt.js";
|
import { CCITTFaxDecoder } from "./ccitt.js";
|
||||||
import { DecodeStream } from "./stream.js";
|
import { DecodeStream } from "./stream.js";
|
||||||
|
|
||||||
var CCITTFaxStream = (function CCITTFaxStreamClosure() {
|
const CCITTFaxStream = (function CCITTFaxStreamClosure() {
|
||||||
// eslint-disable-next-line no-shadow
|
// eslint-disable-next-line no-shadow
|
||||||
function CCITTFaxStream(str, maybeLength, params) {
|
function CCITTFaxStream(str, maybeLength, params) {
|
||||||
this.str = str;
|
this.str = str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user