From 5b38c069c6be25b9110c306fd9f0722fabf5360f Mon Sep 17 00:00:00 2001 From: Denis Ciccale Date: Wed, 2 Dec 2015 12:42:08 +0100 Subject: [PATCH] Remove usless function binding --- lib/Strapi.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/Strapi.js b/lib/Strapi.js index 339f5a63d8..ffef8233d9 100755 --- a/lib/Strapi.js +++ b/lib/Strapi.js @@ -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')();