mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
Remove .js
extention in require() use. Close #71
This commit is contained in:
parent
99a2e4efdc
commit
50cd07afc4
8 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
var pako = require('../../../index.js');
|
||||
var pako = require('../../../');
|
||||
|
||||
exports.run = function(data, level) {
|
||||
return pako.deflate(data.typed, {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
var pako = require('../../../index.js');
|
||||
var pako = require('../../../');
|
||||
|
||||
exports.run = function(data) {
|
||||
return pako.inflate(data.deflateString, {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
var pako = require('../../../index.js');
|
||||
var pako = require('../../../');
|
||||
|
||||
exports.run = function(data) {
|
||||
return pako.inflate(data.deflateTyped, {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var pako = require('../index.js');
|
||||
var pako = require('../');
|
||||
|
||||
var data = new Uint8Array(fs.readFileSync(path.join(__dirname, '/samples/lorem_1mb.txt')));
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
|
||||
var zlib_deflate = require('./zlib/deflate.js');
|
||||
var zlib_deflate = require('./zlib/deflate');
|
||||
var utils = require('./utils/common');
|
||||
var strings = require('./utils/strings');
|
||||
var msg = require('./zlib/messages');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
|
||||
var zlib_inflate = require('./zlib/inflate.js');
|
||||
var zlib_inflate = require('./zlib/inflate');
|
||||
var utils = require('./utils/common');
|
||||
var strings = require('./utils/strings');
|
||||
var c = require('./zlib/constants');
|
||||
|
|
|
@ -12,7 +12,7 @@ var path = require('path');
|
|||
|
||||
var c = require('../lib/zlib/constants');
|
||||
var msg = require('../lib/zlib/messages');
|
||||
var zlib_deflate = require('../lib/zlib/deflate.js');
|
||||
var zlib_deflate = require('../lib/zlib/deflate');
|
||||
var ZStream = require('../lib/zlib/zstream');
|
||||
|
||||
var pako = require('../index');
|
||||
|
|
|
@ -11,7 +11,7 @@ var assert = require('assert');
|
|||
var c = require('../lib/zlib/constants');
|
||||
var msg = require('../lib/zlib/messages');
|
||||
//var zlib_stream = require('../lib/zlib/zstream');
|
||||
var zlib_inflate = require('../lib/zlib/inflate.js');
|
||||
var zlib_inflate = require('../lib/zlib/inflate');
|
||||
var inflate_table = require('../lib/zlib/inftrees');
|
||||
|
||||
var pako = require('../index');
|
||||
|
|
Loading…
Add table
Reference in a new issue