fix apf not working in strict mode

pull/483/head
nightwing 2018-02-09 15:55:59 +04:00
rodzic 6e318ded6d
commit 9d3169144a
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -96,7 +96,7 @@ define(["require", "module", "exports", "./lib/menu/menu", "./lib/crypto",
/**
* @event load Fires after the application is loaded.
*/
apf = {
var apf = window.apf = {
getPlugin: function(name) {
return apf.nameserver.get("all", name);
},
@ -705,7 +705,6 @@ apf.Class.prototype = new (function(){
for (i = 0, l = this.$bufferEvents.length; i < l; i++)
this.addEventListener.apply(this, this.$bufferEvents[i]);
delete realAddEventListener;
delete this.$initStack;
delete this.$bufferEvents;