Fix static method for objects

This commit is contained in:
Christoph Diehl 2018-03-19 06:34:18 +01:00
parent 43b69880b1
commit 7c2273e26c
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A
4 changed files with 7 additions and 4 deletions

View file

@ -11,7 +11,7 @@ class utils {
return require('./mutate') return require('./mutate')
} }
static Objects () { static get objects () {
return require('./objects') return require('./objects')
} }

View file

@ -114,4 +114,7 @@ class Objects {
} }
} }
module.exports = {Objects, o} module.exports = {
o,
Objects
}

View file

@ -5,7 +5,7 @@
const random = require('../random') const random = require('../random')
const make = require('../make') const make = require('../make')
const utils = require('../utils') const utils = require('../utils')
const {o} = require('../objects') const {o} = require('./objects')
class script extends utils { class script extends utils {
static methodHead (list, numOptional) { static methodHead (list, numOptional) {

View file

@ -1,5 +1,5 @@
{ {
"name": "octo", "name": "@mozillasecurity/octo",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "",
"keywords": ["fuzzing", "browser", "javascript", "node", "library"], "keywords": ["fuzzing", "browser", "javascript", "node", "library"],