mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 04:08:04 +00:00
Remove usless function binding
This commit is contained in:
parent
79eb9c9e2b
commit
5b38c069c6
@ -36,17 +36,6 @@ function Strapi() {
|
||||
// Mixin support for `Strapi.prototype.after()`.
|
||||
mixinAfter(this);
|
||||
|
||||
// Bind `this` context for all `Strapi.prototype.*` methods.
|
||||
this.load = this.load.bind(this);
|
||||
this.start = this.start.bind(this);
|
||||
this.stop = this.stop.bind(this);
|
||||
this.restart = this.restart.bind(this);
|
||||
this.initialize = this.initialize.bind(this);
|
||||
this.exposeGlobals = this.exposeGlobals.bind(this);
|
||||
this.runBootstrap = this.runBootstrap.bind(this);
|
||||
this.isLocalStrapiValid = this.isLocalStrapiValid.bind(this);
|
||||
this.isStrapiAppSync = this.isStrapiAppSync.bind(this);
|
||||
|
||||
// Expose `koa`.
|
||||
this.server = require('koa');
|
||||
this.app = require('koa')();
|
||||
|
Loading…
x
Reference in New Issue
Block a user